| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ObjectIdentityHashSet(int
The expected number of elements guaranteed not to cause a rehash
(inclusive). expectedElements, double The load factor for internal buffers. Insane load factors (zero, full
capacity) are rejected by loadFactor)verifyLoadFactor(double).New instance with the provided defaults. |
| public | ObjectIdentityHashSet(ObjectContainer<? extends KType> container)
New instance copying elements from another |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| public static <KType> ObjectIdentityHashSet | from(KType... elements)
Hides com. Create a set from a variable number of arguments or an array of |
| protected int | hashKey(KType key)
Overrides com. Returns a hash code for the given key. |
| ObjectIdentityHashSet | back to summary |
|---|---|
| public ObjectIdentityHashSet() New instance with sane defaults. | |
| ObjectIdentityHashSet | back to summary |
|---|---|
| public ObjectIdentityHashSet(int expectedElements) New instance with sane defaults. | |
| ObjectIdentityHashSet | back to summary |
|---|---|
| public ObjectIdentityHashSet(int expectedElements, double loadFactor) New instance with the provided defaults.
| |
| ObjectIdentityHashSet | back to summary |
|---|---|
| public ObjectIdentityHashSet(ObjectContainer<? extends KType> container) New instance copying elements from another | |
| equals | back to summary |
|---|---|
| protected boolean equals(Object v1, Object v2) Overrides com.
| |
| from | back to summary |
|---|---|
| public static <KType> ObjectIdentityHashSet Hides com. Create a set from a variable number of arguments or an array of
| |
| hashKey | back to summary |
|---|---|
| protected int hashKey(KType key) Overrides com. Doc from com. Returns a hash code for the given key. The output from this function should evenly distribute keys across the entire integer range.
| |