Package io.protostuff.runtime
Class Predicate.NOTEQ
java.lang.Object
io.protostuff.runtime.Predicate.NOTEQ
- All Implemented Interfaces:
Predicate
,Predicate.Factory
- Enclosing interface:
Predicate
A predicate that includes all fields except the provided number.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.protostuff.runtime.Predicate
Predicate.EQ, Predicate.Factories, Predicate.Factory, Predicate.GT, Predicate.LT, Predicate.NOTEQ, Predicate.NOTRANGE, Predicate.RANGE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
num
final int num
-
-
Constructor Details
-
NOTEQ
NOTEQ(int num)
-
-
Method Details
-
apply
Description copied from interface:Predicate
Returns true if the field is included. -
apply
Description copied from interface:Predicate
Returns true if the field is included.The predicate logic can be dynamic based on the contents of the message.
-
create
Description copied from interface:Predicate.Factory
Creates a new predicate based from the args.- Specified by:
create
in interfacePredicate.Factory
-