Package org.nustaq.reallive.api
Class RLLimitedPredicate<T>
java.lang.Object
org.nustaq.reallive.api.RLLimitedPredicate<T>
- All Implemented Interfaces:
java.io.Serializable,java.util.function.Predicate<T>,RLPredicate<T>
public class RLLimitedPredicate<T> extends java.lang.Object implements RLPredicate<T>
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RLLimitedPredicate(int limit, RLPredicate query) -
Method Summary
Modifier and Type Method Description void_setLimit(int limit)intgetRecordLimit()booleantest(T o)
-
Constructor Details
-
Method Details
-
test
- Specified by:
testin interfacejava.util.function.Predicate<T>
-
getRecordLimit
public int getRecordLimit()- Specified by:
getRecordLimitin interfaceRLPredicate<T>
-
_setLimit
public void _setLimit(int limit)
-