- All Known Implementing Classes:
- 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 LongAbortableConsumer
Note this is similar to java.util.function.LongPredicate; we don't use that since it could create confusion as for intended semantics for use.
(long v)Provides a value to this consumer. A false return value indicates that the application providing values to this consumer should not invoke it again.
v- the value
- false if don't want any more values after this one, true otherwise.