Package | Description |
---|---|
org.apache.metamodel.util |
Utilities and convenient classes
|
Modifier and Type | Interface and Description |
---|---|
interface |
Predicate<E>
A predicate is a special type of
Func , used typically for
inclusion/exclusion criteria. |
Modifier and Type | Class and Description |
---|---|
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
|
class |
UncheckedFunc<I,O> |
Modifier and Type | Method and Description |
---|---|
static <I,O> List<O> |
CollectionUtils.map(I[] items,
Func<? super I,O> func) |
static <I,O> List<O> |
CollectionUtils.map(Iterable<I> items,
Func<? super I,O> func) |
<E> E |
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. |
<E> E |
AbstractResource.read(Func<InputStream,E> readCallback) |
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.