T - the type of objects in the iterablepublic class NthItem<T> extends KorypheFunction<Iterable<T>,T>
NthItem is a KorypheFunction that returns an item based on user selection,
from an Iterable of items of type T| Modifier and Type | Method and Description |
|---|---|
T |
apply(Iterable<T> input) |
boolean |
equals(Object o) |
int |
getSelection() |
int |
hashCode() |
void |
setSelection(int selection) |
public void setSelection(int selection)
public int getSelection()
public int hashCode()
hashCode in class KorypheFunction<Iterable<T>,T>Copyright © 2021. All rights reserved.