T - the procedure argument typespublic final class IndexOfInGenerator<T> extends Object implements BinaryFunction<LoopGenerator<? extends T>,Predicate<? super T>,Number>
LoopGenerator matching a
Predicate, or -1 if not found.| Constructor and Description |
|---|
IndexOfInGenerator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Number |
evaluate(LoopGenerator<? extends T> left,
Predicate<? super T> right)
Evaluate this function.
|
int |
hashCode() |
static IndexOfInGenerator<Object> |
instance()
Get a static
IndexOfInGenerator instance. |
String |
toString() |
public IndexOfInGenerator()
public Number evaluate(LoopGenerator<? extends T> left, Predicate<? super T> right)
evaluate in interface BinaryFunction<LoopGenerator<? extends T>,Predicate<? super T>,Number>left - LoopGeneratorright - Predicatepublic static IndexOfInGenerator<Object> instance()
IndexOfInGenerator instance.IndexOfInGeneratorCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.