public class IntSetCharacterClass extends java.lang.Object implements CharacterClass
| Constructor and Description |
|---|
IntSetCharacterClass(IntSet intSet) |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
getIntSet()
Get the set of matching characters if available.
|
boolean |
isDisjoint(CharacterClass other)
Ask whether this character class is known to be disjoint with another character class
(that is, the two classes have no characters in common).
|
boolean |
test(int value)
Test whether a particular codepoint is a member of the character class
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunionpublic IntSetCharacterClass(IntSet intSet)
public IntSet getIntSet()
CharacterClassgetIntSet in interface CharacterClasspublic boolean test(int value)
CharacterClasstest in interface java.util.function.IntPredicatetest in interface CharacterClasstest in interface IntPredicateProxyvalue - the codepoint to be testedpublic boolean isDisjoint(CharacterClass other)
isDisjoint in interface CharacterClassother - the other character classCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.