public interface CharacterSet
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CharacterSet.DefinitionVisitor<EX extends Exception> |
static interface |
CharacterSet.ExclusionVisitor<EX extends Exception> |
static class |
CharacterSet.Unicode |
| Modifier and Type | Method and Description |
|---|---|
<EX extends Exception> |
accept(CharacterSet.DefinitionVisitor<EX> visitor) |
boolean |
contains(int codePoint) |
static String |
controlCharName(int cp) |
static String |
escapeCodePoint(int cp) |
boolean |
hasExclusions() |
boolean |
isControlCharacter() |
String |
name()
Returns the name of this set if this is a named set, or
null if this is not a named set. |
int |
randomCodePoint(Random random) |
static final String ANY
static final String EOI
String name()
null if this is not a named set.<EX extends Exception> void accept(CharacterSet.DefinitionVisitor<EX> visitor) throws EX extends Exception
EX extends Exceptionint randomCodePoint(Random random)
boolean contains(int codePoint)
boolean hasExclusions()
boolean isControlCharacter()
static String controlCharName(int cp)
static String escapeCodePoint(int cp)
Copyright © 2019. All rights reserved.