public final class IntCharSet extends Object
Constructor and Description |
---|
IntCharSet() |
IntCharSet(int c) |
IntCharSet(Interval interval) |
IntCharSet(List<Interval> chars) |
Modifier and Type | Method and Description |
---|---|
void |
add(int c) |
IntCharSet |
add(IntCharSet set) |
void |
add(Interval interval) |
IntCharSet |
and(IntCharSet set) |
boolean |
contains(int singleChar) |
boolean |
containsElements() |
IntCharSet |
copy()
Return a (deep) copy of this char set
|
boolean |
equals(Object o)
o instanceof Interval
|
IntCharSet |
getCaseless(UnicodeProperties unicodeProperties)
Create a caseless version of this charset.
|
List<Interval> |
getIntervals() |
Interval |
getNext() |
int |
numIntervals() |
void |
sub(IntCharSet set) |
String |
toString()
Make a string representation of this char set.
|
public IntCharSet()
public IntCharSet(int c)
public IntCharSet(Interval interval)
public IntCharSet add(IntCharSet set)
public void add(Interval interval)
public void add(int c)
public boolean contains(int singleChar)
public IntCharSet and(IntCharSet set)
public void sub(IntCharSet set)
public boolean containsElements()
public int numIntervals()
public Interval getNext()
public IntCharSet getCaseless(UnicodeProperties unicodeProperties)
The caseless version contains all characters of this char set, and additionally all lower/upper/title case variants of the characters in this set.
unicodeProperties
- The Unicode Properties to use when generating
caseless equivalence classes.public String toString()
public IntCharSet copy()
Copyright © 1998–2016. All rights reserved.