public class SelectableItem extends java.lang.Object implements Selectable
Selectable item.| Constructor and Description |
|---|
SelectableItem() |
| Modifier and Type | Method and Description |
|---|---|
static <T> java.util.List<SelectableItem> |
listOf(java.util.Collection<T> items,
java.util.function.Function<T,java.lang.String> idFn,
java.util.function.Function<T,java.lang.String> nameFn,
java.util.function.Predicate<T> selectedFn)
Creation of a list of selectable items from a list of items, using an extractor for the id and the name,
and a predicate for the selection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getName, isSelectedpublic static <T> java.util.List<SelectableItem> listOf(java.util.Collection<T> items, java.util.function.Function<T,java.lang.String> idFn, java.util.function.Function<T,java.lang.String> nameFn, java.util.function.Predicate<T> selectedFn)