Interface HibernateAlertEntityDao.SatiableConsumer<T>
-
- Type Parameters:
T
- the type of the input to the operation
- Enclosing class:
- HibernateAlertEntityDao
- 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 static interface HibernateAlertEntityDao.SatiableConsumer<T>
A consumer that accepts a single input argument and returns a boolean indicating if further inputs are wanted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(T value)
Performs this operation on the given argument.
-
-
-
Method Detail
-
accept
boolean accept(T value)
Performs this operation on the given argument.- Parameters:
value
- the input argument- Returns:
true
to signal to the producer that no more elements should be produced; otherwisefalse
to indicate if the producer has more elements to continue callingaccept(Object)
-
-