|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.lang.CharSet
A set of characters. You can iterate over the characters in the set.
Field Summary | |
private LinkedList |
set
|
Constructor Summary | |
protected |
CharSet(String[] set)
Restricted constructor. |
Method Summary | |
protected void |
add(String str)
Add a set definition string to the set |
boolean |
contains(char ch)
Does the set contain the character specified |
String |
toString()
Returns a string representation of the set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private LinkedList set
Constructor Detail |
protected CharSet(String[] set)
NullPointerException
- if any of set[i] is null or if set is nullMethod Detail |
public boolean contains(char ch)
ch
- the character to check for
protected void add(String str)
str
- set definition string
NullPointerException
- if str is nullpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |