I_ITEM
- the type of objects in the iterablepublic class FirstValid<I_ITEM> extends KorypheFunction<Iterable<I_ITEM>,I_ITEM>
Constructor and Description |
---|
FirstValid() |
FirstValid(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
I_ITEM |
apply(Iterable<I_ITEM> iterable) |
boolean |
equals(Object o) |
Predicate |
getPredicate() |
int |
hashCode() |
FirstValid<I_ITEM> |
predicate(Predicate predicate) |
FirstValid<I_ITEM> |
setPredicate(Predicate predicate) |
public FirstValid()
public FirstValid(Predicate predicate)
public FirstValid<I_ITEM> predicate(Predicate predicate)
public FirstValid<I_ITEM> setPredicate(Predicate predicate)
public Predicate getPredicate()
public boolean equals(Object o)
equals
in class KorypheFunction<Iterable<I_ITEM>,I_ITEM>
public int hashCode()
hashCode
in class KorypheFunction<Iterable<I_ITEM>,I_ITEM>
Copyright © 2021. All rights reserved.