Package net.sf.saxon.z
Interface IntPredicateProxy
- All Superinterfaces:
IntPredicate
- All Known Subinterfaces:
CharacterClass
- All Known Implementing Classes:
Categories.Category
,EmptyCharacterClass
,IntExceptPredicate
,IntIntersectionPredicate
,IntPredicateLambda
,IntSetCharacterClass
,IntSetPredicate
,IntUnionPredicate
,IntValuePredicate
,InverseCharacterClass
,PredicateCharacterClass
,SingletonCharacterClass
This interface represents an integer predicate (that is, a boolean function of an integer).
It is provided for the purpose of C# transpilation: in Java, an IntPredicate can be implemented
either as a class implementing
IntPredicate
, or as a lambda expression,
but this duality is not available in C#. A class that implements IntPredicate
should therefore implement this extension of the interface, so that it can be transpiled to C#.-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(int value) default IntPredicateProxy
union
(IntPredicateProxy other) Methods inherited from interface java.util.function.IntPredicate
and, negate, or
-
Method Details
-
test
boolean test(int value) - Specified by:
test
in interfaceIntPredicate
-
union
-