|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Func | |
|---|---|
| org.eobjects.metamodel.util | Utilities and convenient classes |
| Uses of Func in org.eobjects.metamodel.util |
|---|
| Subinterfaces of Func in org.eobjects.metamodel.util | |
|---|---|
interface |
Predicate<E>
A predicate is a special type of Func, used typically for
inclusion/exclusion criteria. |
| Classes in org.eobjects.metamodel.util that implement Func | |
|---|---|
class |
ConstantFunc<I,O>
A function that always returns the same constant response. |
class |
ExclusionPredicate<E>
A predicate that uses an exclusion list ("black list") of elements to determine whether to evaluate true or false. |
class |
FalsePredicate<E>
A predicate that is always false |
class |
HasNameMapper
Func useful for mapping HasName instances to names, using
CollectionUtils.map(Object[], Func) and
CollectionUtils.map(Iterable, Func). |
class |
InclusionPredicate<E>
A predicate that uses an inclusion list ("white list") of elements to determine whether to evaluate true or false. |
class |
TruePredicate<E>
A predicate that is always true |
| Methods in org.eobjects.metamodel.util with parameters of type Func | ||
|---|---|---|
static
|
CollectionUtils.map(I[] items,
Func<? super I,O> func)
|
|
static
|
CollectionUtils.map(Iterable<I> items,
Func<? super I,O> func)
|
|
|
UrlResource.read(Func<InputStream,E> readCallback)
|
|
|
Resource.read(Func<InputStream,E> readCallback)
Opens up an InputStream to read from the resource, and allows a
callback function to perform writing actions on it and return the
function's result. |
|
|
InMemoryResource.read(Func<InputStream,E> readCallback)
|
|
|
FileResource.read(Func<InputStream,E> readCallback)
|
|
|
ClasspathResource.read(Func<InputStream,E> readCallback)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||