Doesn't support nor checks for nulls.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| pack-priv T[] | |
| pack-priv final float | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | OpenHashSet(int
the initial capacity capacity)Creates an OpenHashSet with the initial capacity and load factor of 0.75f. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| public boolean | |
| pack-priv static int | |
| pack-priv void | |
| public boolean | |
| pack-priv boolean | |
| public void | |
| public T[] | Returns: the raw array of values of this setReturns the raw array of values of this set, watch out for null entries. |
| INT_PHI | back to summary |
|---|---|
| private static final int INT_PHI | |
| keys | back to summary |
|---|---|
| pack-priv T[] keys | |
| loadFactor | back to summary |
|---|---|
| pack-priv final float loadFactor | |
| mask | back to summary |
|---|---|
| pack-priv int mask | |
| maxSize | back to summary |
|---|---|
| pack-priv int maxSize | |
| size | back to summary |
|---|---|
| pack-priv int size | |
| OpenHashSet | back to summary |
|---|---|
| public OpenHashSet() | |
| OpenHashSet | back to summary |
|---|---|
| public OpenHashSet(int capacity) Creates an OpenHashSet with the initial capacity and load factor of 0.75f.
| |
| OpenHashSet | back to summary |
|---|---|
public OpenHashSet(int capacity, float loadFactor)
| |
| add | back to summary |
|---|---|
| public boolean add(T value) | |
| clear | back to summary |
|---|---|
| public void clear(Action1<? super T> clearAction) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| mix | back to summary |
|---|---|
| pack-priv static int mix(int x) | |
| rehash | back to summary |
|---|---|
pack-priv void rehash()
| |
| remove | back to summary |
|---|---|
| public boolean remove(T value) | |
| removeEntry | back to summary |
|---|---|
| pack-priv boolean removeEntry(int pos, T[] a, int m) | |
| terminate | back to summary |
|---|---|
public void terminate()
| |
| values | back to summary |
|---|---|
| public T[] values() Returns the raw array of values of this set, watch out for null entries.
| |