Package net.sf.saxon.z
Interface IntPredicateProxy
-
- All Superinterfaces:
java.util.function.IntPredicate
- All Known Subinterfaces:
CharacterClass
- All Known Implementing Classes:
Categories.Category
,EmptyCharacterClass
,IntExceptPredicate
,IntIntersectionPredicate
,IntPredicateLambda
,IntSetCharacterClass
,IntSetPredicate
,IntUnionPredicate
,IntValuePredicate
,InverseCharacterClass
,PredicateCharacterClass
,SingletonCharacterClass
public interface IntPredicateProxy extends java.util.function.IntPredicate
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 implementingIntPredicate
, or as a lambda expression, but this duality is not available in C#. A class that implementsIntPredicate
should therefore implement this extension of the interface, so that it can be transpiled to C#.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
test(int value)
default IntPredicateProxy
union(IntPredicateProxy other)
-
-
-
Method Detail
-
test
boolean test(int value)
- Specified by:
test
in interfacejava.util.function.IntPredicate
-
union
default IntPredicateProxy union(IntPredicateProxy other)
-
-