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,RECompiler.BackReference,SingletonCharacterClass
public interface IntPredicateProxy extends 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 implementsIntPredicateshould 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 booleantest(int value)default IntPredicateProxyunion(IntPredicateProxy other)-
Methods inherited from interface java.util.function.IntPredicate
and, negate, or
-
-
-
-
Method Detail
-
test
boolean test(int value)
- Specified by:
testin interfaceIntPredicate
-
union
default IntPredicateProxy union(IntPredicateProxy other)
-
-