Package | Description |
---|---|
it.tidalwave.util | |
it.tidalwave.util.spi |
Modifier and Type | Method and Description |
---|---|
TYPE |
Finder.firstResult()
Performs the search and returns only the first found item.
|
<T> T |
TypeSafeMap.get(Key<T> key) |
<T> T |
TypeSafeHashMap.get(Key<T> key) |
TYPE |
Finder.result()
Performs the search assuming that it will return a single item and returns it.
|
static <T extends Collection<?>> |
NotFoundException.throwWhenEmpty(T collection,
String message)
Throws the
NotFoundException when the passed collection is null or empty. |
static <T extends Collection<?>> |
NotFoundException.throwWhenEmpty(T collection,
String message,
Object... args)
Throws the
NotFoundException when the passed collection is null or empty. |
static <T> T |
NotFoundException.throwWhenNull(T object,
String message)
Throws the
NotFoundException when the passed object is null . |
static <T> T |
NotFoundException.throwWhenNull(T object,
String message,
Object... args)
Throws the
NotFoundException when the passed object is null . |
Modifier and Type | Method and Description |
---|---|
TYPE |
FinderSupport.firstResult()
Performs the search and returns only the first found item.
|
TYPE |
FinderSupport.result()
Performs the search assuming that it will return a single item and returns it.
|
Copyright © 2009–2015 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.