public class OpenTHashSet<T>
extends <any>
get(Object) method useful to intern objects.| Constructor and Description |
|---|
OpenTHashSet() |
OpenTHashSet(<any> strategy) |
OpenTHashSet(<any> strategy,
T... ts) |
OpenTHashSet(java.util.Collection<? extends T> ts,
<any> strategy) |
OpenTHashSet(int initialCapacity,
<any> strategy) |
OpenTHashSet(int initialCapacity,
float loadFactor,
<any> strategy) |
| Modifier and Type | Method and Description |
|---|---|
T |
get(int index) |
T |
get(T obj)
Returns an element of this set equal to the given one.
|
T |
getOrAdd(T obj)
Returns an element of this set equal to the given one, or adds the given one to the set and returns it.
|
int |
index(T obj) |
public OpenTHashSet()
public OpenTHashSet(<any> strategy)
public OpenTHashSet(int initialCapacity,
<any> strategy)
public OpenTHashSet(int initialCapacity,
float loadFactor,
<any> strategy)
public OpenTHashSet(java.util.Collection<? extends T> ts, <any> strategy)
public OpenTHashSet(<any> strategy,
T... ts)