JFlex
Class IntCharSet
public final class IntCharSet
extends java.lang.Object
CharSet implemented with intervalls
[fixme: optimizations possible]
IntCharSet
public IntCharSet()
IntCharSet
public IntCharSet(Interval intervall)
IntCharSet
public IntCharSet(Vector chars)
IntCharSet
public IntCharSet(char c)
add
public void add(char c)
contains
public boolean contains(char singleChar)
containsElements
public boolean containsElements()
copy
public IntCharSet copy()
Return a (deep) copy of this char set
equals
public boolean equals(Object o)
o instanceof Interval
getCaseless
public IntCharSet getCaseless()
Create a caseless version of this charset.
The caseless version contains all characters of this char set,
and additionally all lower/upper/title case variants of the
characters in this set.
- a caseless copy of this set
numIntervalls
public int numIntervalls()
toString
public String toString()
Make a string representation of this char set.
- a string representing this char set.