public final class IntObjectBiMap<T> extends Object implements com.carrotsearch.hppc.IntObjectMap<T>
| Constructor and Description |
|---|
IntObjectBiMap() |
IntObjectBiMap(IntObjectBiMap<T> theMap) |
IntObjectBiMap(com.carrotsearch.hppc.IntObjectMap<T> theMap,
com.carrotsearch.hppc.ObjectIntMap<T> theInverse) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(int key) |
boolean |
equals(Object obj) |
void |
forEach(Consumer<? super com.carrotsearch.hppc.cursors.IntObjectCursor<T>> action) |
<T1 extends com.carrotsearch.hppc.predicates.IntObjectPredicate<? super T>> |
forEach(T1 predicate) |
<T1 extends com.carrotsearch.hppc.procedures.IntObjectProcedure<? super T>> |
forEach(T1 procedure) |
T |
get(int key) |
T |
getOrDefault(int key,
T defaultValue) |
int |
hashCode() |
boolean |
indexExists(int index) |
T |
indexGet(int index) |
void |
indexInsert(int index,
int key,
T value) |
int |
indexOf(int key) |
T |
indexReplace(int index,
T newValue) |
com.carrotsearch.hppc.ObjectIntMap<T> |
inverse() |
boolean |
isEmpty() |
Iterator<com.carrotsearch.hppc.cursors.IntObjectCursor<T>> |
iterator() |
com.carrotsearch.hppc.IntCollection |
keys() |
T |
put(int key,
T value) |
int |
putAll(com.carrotsearch.hppc.IntObjectAssociativeContainer<? extends T> container) |
int |
putAll(Iterable<? extends com.carrotsearch.hppc.cursors.IntObjectCursor<? extends T>> iterable) |
void |
release() |
T |
remove(int key) |
int |
removeAll(com.carrotsearch.hppc.IntContainer container) |
int |
removeAll(com.carrotsearch.hppc.predicates.IntObjectPredicate<? super T> predicate) |
int |
removeAll(com.carrotsearch.hppc.predicates.IntPredicate predicate) |
int |
size() |
Spliterator<com.carrotsearch.hppc.cursors.IntObjectCursor<T>> |
spliterator() |
com.carrotsearch.hppc.ObjectContainer<T> |
values() |
String |
visualizeKeyDistribution(int characters) |
public IntObjectBiMap()
public IntObjectBiMap(IntObjectBiMap<T> theMap)
public com.carrotsearch.hppc.ObjectIntMap<T> inverse()
public void clear()
clear in interface com.carrotsearch.hppc.IntObjectMap<T>public boolean equals(Object obj)
public T getOrDefault(int key, T defaultValue)
getOrDefault in interface com.carrotsearch.hppc.IntObjectMap<T>public int hashCode()
public boolean indexExists(int index)
indexExists in interface com.carrotsearch.hppc.IntObjectMap<T>public T indexGet(int index)
indexGet in interface com.carrotsearch.hppc.IntObjectMap<T>public void indexInsert(int index,
int key,
T value)
indexInsert in interface com.carrotsearch.hppc.IntObjectMap<T>public int indexOf(int key)
indexOf in interface com.carrotsearch.hppc.IntObjectMap<T>public T indexReplace(int index, T newValue)
indexReplace in interface com.carrotsearch.hppc.IntObjectMap<T>public T put(int key, T value)
put in interface com.carrotsearch.hppc.IntObjectMap<T>public int putAll(com.carrotsearch.hppc.IntObjectAssociativeContainer<? extends T> container)
putAll in interface com.carrotsearch.hppc.IntObjectMap<T>public int putAll(Iterable<? extends com.carrotsearch.hppc.cursors.IntObjectCursor<? extends T>> iterable)
putAll in interface com.carrotsearch.hppc.IntObjectMap<T>public void release()
release in interface com.carrotsearch.hppc.IntObjectMap<T>public T remove(int key)
remove in interface com.carrotsearch.hppc.IntObjectMap<T>public String visualizeKeyDistribution(int characters)
visualizeKeyDistribution in interface com.carrotsearch.hppc.IntObjectMap<T>public boolean containsKey(int key)
containsKey in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public <T1 extends com.carrotsearch.hppc.predicates.IntObjectPredicate<? super T>> T1 forEach(T1 predicate)
forEach in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public <T1 extends com.carrotsearch.hppc.procedures.IntObjectProcedure<? super T>> T1 forEach(T1 procedure)
forEach in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public boolean isEmpty()
isEmpty in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public com.carrotsearch.hppc.IntCollection keys()
keys in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public int removeAll(com.carrotsearch.hppc.IntContainer container)
removeAll in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public int removeAll(com.carrotsearch.hppc.predicates.IntObjectPredicate<? super T> predicate)
removeAll in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public int removeAll(com.carrotsearch.hppc.predicates.IntPredicate predicate)
removeAll in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public int size()
size in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public com.carrotsearch.hppc.ObjectContainer<T> values()
values in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<T>public void forEach(Consumer<? super com.carrotsearch.hppc.cursors.IntObjectCursor<T>> action)
public Spliterator<com.carrotsearch.hppc.cursors.IntObjectCursor<T>> spliterator()
spliterator in interface Iterable<com.carrotsearch.hppc.cursors.IntObjectCursor<T>>Copyright © 2010-2016 Stardog Union. All Rights Reserved.