T
- the element typepublic final class OpenHashSet<T> extends Object
Doesn't support nor checks for null
s.
Constructor and Description |
---|
OpenHashSet() |
OpenHashSet(int capacity)
Creates an OpenHashSet with the initial capacity and load factor of 0.75f.
|
OpenHashSet(int capacity,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T value) |
void |
clear(Action1<? super T> clearAction) |
boolean |
isEmpty() |
boolean |
remove(T value) |
void |
terminate() |
T[] |
values()
Returns the raw array of values of this set, watch out for null entries.
|
public OpenHashSet()
public OpenHashSet(int capacity)
capacity
- the initial capacitypublic OpenHashSet(int capacity, float loadFactor)
Copyright © 2018. All rights reserved.