| Modifier and Type | Field and Description |
|---|---|
| private final Transformer | iTransformer
The transformer to call |
| private static final long | serialVersionUID
Serial version UID |
| Access | Constructor and Description |
|---|---|
| public | TransformerPredicate(final Transformer<? super T, Boolean>
the transformer to decorate transformer)Constructor that performs no validation. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if decorated transformer returns Boolean.TRUEthe input object object)Implements org. |
| public Transformer | |
| public static < the type that the predicate queries T> Predicate | Returns: the predicatethe transformer to decorate transformer)Factory to create the predicate. |
| iTransformer | back to summary |
|---|---|
| private final Transformer<? super T, Boolean> iTransformer The transformer to call | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version UID | |
| TransformerPredicate | back to summary |
|---|---|
| public TransformerPredicate(final Transformer<? super T, Boolean> transformer) Constructor that performs no validation.
Use
| |
| evaluate | back to summary |
|---|---|
| public boolean evaluate(final T object) Implements org. Evaluates the predicate returning the result of the decorated transformer.
| |
| getTransformer | back to summary |
|---|---|
| public Transformer Gets the transformer.
| |
| transformerPredicate | back to summary |
|---|---|
| public static <T> Predicate Factory to create the predicate.
| |