-
- All Known Implementing Classes:
FilterSelector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Selectee<T>
Represents an operation that is used exclusively as a helper to someSelector's
Selector.mapSelected(swim.structure.Interpreter, swim.structure.Selectee<swim.structure.Item>)
orSelector.forSelected(swim.structure.Interpreter, swim.structure.Selectee<T>)
methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
selected(Interpreter interpreter)
Performs this operation againstinterpreter
.
-
-
-
Method Detail
-
selected
T selected(Interpreter interpreter)
Performs this operation againstinterpreter
. By convention, a null return value indicates to "collection-oriented" callingSelectors
(e.g.ChildrenSelector
,KeysSelector
) thatforSelected
should continue to be invoked, if possible. A non-null value indicates to suchSelectors
thatforSelected
should return immediately.
-
-