|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Generated(date="2012-11-19T09:50:03+0100",
value="HPPC generated from: CharSet.java")
public interface CharSet
A set of chars.
| Method Summary | |
|---|---|
boolean |
add(char k)
Adds k to the set. |
boolean |
equals(java.lang.Object obj)
Compares the specified object with this set for equality. |
int |
hashCode()
|
| Methods inherited from interface com.carrotsearch.hppc.CharCollection |
|---|
clear, removeAll, removeAll, removeAllOccurrences, retainAll, retainAll |
| Methods inherited from interface com.carrotsearch.hppc.CharContainer |
|---|
contains, forEach, forEach, isEmpty, iterator, size, toArray |
| Method Detail |
|---|
boolean add(char k)
k to the set.
true if this element was not part of the set before. Returns
false if an equal element is part of the set, and replaces the existing
equal element with the argument (if keys are object types).boolean equals(java.lang.Object obj)
ObjectSet and both objects contains exactly the same objects.
equals in class java.lang.Objectint hashCode()
hashCode in class java.lang.ObjectSet.hashCode() (sum of hash codes of elements
within the set). Because sum is commutative, this ensures that different order
of elements in a set does not affect the hash code.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||