public static class ImmutableOpenIntMap.Builder<VType> extends Object implements com.carrotsearch.hppc.IntObjectMap<VType>
| Constructor and Description |
|---|
Builder() |
Builder(ImmutableOpenIntMap<VType> map) |
Builder(int size) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableOpenIntMap<VType> |
build()
Builds a new instance of the
|
void |
clear() |
boolean |
containsKey(int key) |
<T extends com.carrotsearch.hppc.procedures.IntObjectProcedure<? super VType>> |
forEach(T procedure) |
ImmutableOpenIntMap.Builder<VType> |
fPut(int key,
VType value)
A put operation that can be used in the fluent pattern.
|
ImmutableOpenIntMap.Builder<VType> |
fRemove(int key)
Remove that can be used in the fluent pattern.
|
VType |
get(int key) |
VType |
getOrDefault(int kType,
VType vType) |
boolean |
isEmpty() |
Iterator<com.carrotsearch.hppc.cursors.IntObjectCursor<VType>> |
iterator() |
com.carrotsearch.hppc.IntCollection |
keys() |
VType |
put(int key,
VType value) |
int |
putAll(com.carrotsearch.hppc.IntObjectAssociativeContainer<? extends VType> container) |
int |
putAll(Iterable<? extends com.carrotsearch.hppc.cursors.IntObjectCursor<? extends VType>> iterable) |
ImmutableOpenIntMap.Builder<VType> |
putAll(Map<Integer,VType> map)
Puts all the entries in the map to the builder.
|
VType |
remove(int key) |
int |
removeAll(com.carrotsearch.hppc.IntContainer container) |
int |
removeAll(com.carrotsearch.hppc.predicates.IntPredicate predicate) |
int |
size() |
com.carrotsearch.hppc.ObjectContainer<VType> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Builder()
public Builder(int size)
public Builder(ImmutableOpenIntMap<VType> map)
public ImmutableOpenIntMap<VType> build()
public ImmutableOpenIntMap.Builder<VType> putAll(Map<Integer,VType> map)
public ImmutableOpenIntMap.Builder<VType> fPut(int key, VType value)
public VType put(int key, VType value)
put in interface com.carrotsearch.hppc.IntObjectMap<VType>public VType get(int key)
get in interface com.carrotsearch.hppc.IntObjectMap<VType>public VType getOrDefault(int kType, VType vType)
getOrDefault in interface com.carrotsearch.hppc.IntObjectMap<VType>public ImmutableOpenIntMap.Builder<VType> fRemove(int key)
public VType remove(int key)
remove in interface com.carrotsearch.hppc.IntObjectMap<VType>public boolean containsKey(int key)
containsKey in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<VType>public int size()
size in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<VType>public boolean isEmpty()
isEmpty in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<VType>public void clear()
clear in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<VType>public int putAll(com.carrotsearch.hppc.IntObjectAssociativeContainer<? extends VType> container)
putAll in interface com.carrotsearch.hppc.IntObjectMap<VType>public int putAll(Iterable<? extends com.carrotsearch.hppc.cursors.IntObjectCursor<? extends VType>> iterable)
putAll in interface com.carrotsearch.hppc.IntObjectMap<VType>public int removeAll(com.carrotsearch.hppc.IntContainer container)
removeAll in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<VType>public int removeAll(com.carrotsearch.hppc.predicates.IntPredicate predicate)
removeAll in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<VType>public <T extends com.carrotsearch.hppc.procedures.IntObjectProcedure<? super VType>> T forEach(T procedure)
forEach in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<VType>public com.carrotsearch.hppc.IntCollection keys()
keys in interface com.carrotsearch.hppc.IntObjectAssociativeContainer<VType>Copyright © 2009–2016. All rights reserved.