com.karneim.util.collection.set
public class CharSet extends Object implements ISet_char
Field Summary | |
---|---|
protected CharSet.IAbstract | set |
Constructor Summary | |
---|---|
protected | CharSet(CharSet.IAbstract set) |
CharSet() | |
CharSet(char ch) | |
CharSet(String s) |
Method Summary | |
---|---|
boolean | add(char ch) |
void | addAll(String chars) |
void | addAll(String chars, int offset) |
void | addAll(String chars, int offset, int length) |
void | addAll(char[] chars) |
void | addAll(char[] chars, int offset) |
void | addAll(char[] chars, int offset, int length) |
void | addAll(ISet_char set)
adds all chars from set to this ISet_char without adding doublicates.
returns the number of chars added to this ISet_char. |
void | clear() |
Object | clone() |
protected CharSet.IAbstract | cloneAbstract(CharSet.IAbstract set) |
void | complement() |
boolean | contains(char ch) |
boolean | equals(Object obj) |
int | hashCode() |
boolean | isEmpty() |
ISet_char.Iterator | iterator() |
boolean | remove(char ch) |
void | removeAll(ISet_char set)
Removes from this set all of its elements that are contained in the specified set (optional operation).
returns the number of chars that were removed. |
void | retainAll(ISet_char set) |
int | size() |
String | toString() |