E
- the arguments type.public final class FindWithinGenerator<E> extends Object implements BinaryFunction<Generator<? extends E>,Predicate<? super E>,E>
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,
Predicate<? 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, Predicate<? super E> right)
public static FindWithinGenerator<Object> instance()
FindWithinGenerator
instance.FindWithinGenerator
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.