E - the arguments type.public final class FindWithinGenerator<E> extends Object implements BinaryFunction<Generator<? extends E>,UnaryPredicate<? super E>,E>, Serializable
Generator matching a UnaryPredicate.| Modifier and Type | Field and Description |
|---|---|
static FindWithinGenerator<Object> |
INSTANCE
Basic instance.
|
| Constructor and Description |
|---|
FindWithinGenerator()
Create a new FindWithinGenerator.
|
FindWithinGenerator(E ifNone)
Create a new FindWithinGenerator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
E |
evaluate(Generator<? extends E> left,
UnaryPredicate<? super E> right)
Evaluate this function.
|
int |
hashCode() |
static FindWithinGenerator<Object> |
instance()
Get a static
FindWithinGenerator instance. |
String |
toString() |
public static final FindWithinGenerator<Object> INSTANCE
public FindWithinGenerator()
public FindWithinGenerator(E ifNone)
ifNone - object to return if the Generator contains no matches.public E evaluate(Generator<? extends E> left, UnaryPredicate<? super E> right)
evaluate in interface BinaryFunction<Generator<? extends E>,UnaryPredicate<? super E>,E>left - Generatorright - UnaryPredicatepublic static FindWithinGenerator<Object> instance()
FindWithinGenerator instance.FindWithinGeneratorCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.