public class EmptyCharacterClass extends java.lang.Object implements CharacterClass
Modifier and Type | Method and Description |
---|---|
static CharacterClass |
getComplement() |
static EmptyCharacterClass |
getInstance() |
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) |
public static EmptyCharacterClass getInstance()
public static CharacterClass getComplement()
public boolean test(int value)
test
in interface java.util.function.IntPredicate
public boolean isDisjoint(CharacterClass other)
CharacterClass
isDisjoint
in interface CharacterClass
other
- the other character classpublic IntSet getIntSet()
CharacterClass
getIntSet
in interface CharacterClass
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.