public class LongCharHashMap extends AbstractMutableCharValuesMap implements org.eclipse.collections.api.map.primitive.MutableLongCharMap, Externalizable, MutableLongKeysMap
| Constructor and Description |
|---|
LongCharHashMap() |
LongCharHashMap(int initialCapacity) |
LongCharHashMap(org.eclipse.collections.api.map.primitive.LongCharMap map) |
| Modifier and Type | Method and Description |
|---|---|
char |
addToValue(long key,
char toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableLongCharMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableLongCharMap |
asUnmodifiable() |
org.eclipse.collections.api.iterator.MutableCharIterator |
charIterator() |
void |
clear() |
void |
compact()
Rehashes every element in the set into a new backing table of the smallest possible size and eliminating removed sentinels.
|
boolean |
containsKey(long key) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongCharProcedure procedure) |
char |
get(long key) |
char |
getIfAbsent(long key,
char ifAbsent) |
char |
getIfAbsentPut(long key,
char value) |
char |
getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.CharFunction0 function) |
<P> char |
getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.CharFunction<? super P> function,
P parameter) |
char |
getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToCharFunction function) |
char |
getOrThrow(long key) |
int |
hashCode() |
<V> V |
injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectCharToObjectFunction<? super V,? extends V> function) |
org.eclipse.collections.api.set.primitive.MutableLongSet |
keySet() |
org.eclipse.collections.api.LazyLongIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongCharPair> |
keyValuesView() |
static LongCharHashMap |
newWithKeysValues(long key1,
char value1) |
static LongCharHashMap |
newWithKeysValues(long key1,
char value1,
long key2,
char value2) |
static LongCharHashMap |
newWithKeysValues(long key1,
char value1,
long key2,
char value2,
long key3,
char value3) |
static LongCharHashMap |
newWithKeysValues(long key1,
char value1,
long key2,
char value2,
long key3,
char value3,
long key4,
char value4) |
void |
put(long key,
char value) |
void |
putAll(org.eclipse.collections.api.map.primitive.LongCharMap map) |
void |
readExternal(ObjectInput in) |
LongCharHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.LongCharPredicate predicate) |
void |
remove(long key) |
void |
removeKey(long key) |
char |
removeKeyIfAbsent(long key,
char value) |
LongCharHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.LongCharPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableLongCharMap |
toImmutable() |
String |
toString() |
char |
updateValue(long key,
char initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.CharToCharFunction function) |
org.eclipse.collections.api.collection.primitive.MutableCharCollection |
values() |
LongCharHashMap |
withKeysValues(long key1,
char value1,
long key2,
char value2) |
LongCharHashMap |
withKeysValues(long key1,
char value1,
long key2,
char value2,
long key3,
char value3) |
LongCharHashMap |
withKeysValues(long key1,
char value1,
long key2,
char value2,
long key3,
char value3,
long key4,
char value4) |
LongCharHashMap |
withKeyValue(long key1,
char value1) |
LongCharHashMap |
withoutAllKeys(org.eclipse.collections.api.LongIterable keys) |
LongCharHashMap |
withoutKey(long key) |
void |
writeExternal(ObjectOutput out) |
allSatisfy, anySatisfy, appendString, collect, contains, containsAll, containsValue, count, detectIfNone, each, forEach, forEachValue, isEmpty, max, min, noneSatisfy, notEmpty, reject, select, size, sum, toArrayappendString, appendString, asLazy, average, containsAll, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedListcollect, reject, selectcontainsValue, forEachValueallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeisEmpty, notEmpty, sizepublic LongCharHashMap()
public LongCharHashMap(int initialCapacity)
public LongCharHashMap(org.eclipse.collections.api.map.primitive.LongCharMap map)
public static LongCharHashMap newWithKeysValues(long key1, char value1)
public static LongCharHashMap newWithKeysValues(long key1, char value1, long key2, char value2)
public static LongCharHashMap newWithKeysValues(long key1, char value1, long key2, char value2, long key3, char value3)
public static LongCharHashMap newWithKeysValues(long key1, char value1, long key2, char value2, long key3, char value3, long key4, char value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.LongCharMaptoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractCharIterablepublic org.eclipse.collections.api.iterator.MutableCharIterator charIterator()
charIterator in interface org.eclipse.collections.api.CharIterablecharIterator in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMappublic <V> V injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectCharToObjectFunction<? super V,? extends V> function)
injectInto in interface org.eclipse.collections.api.CharIterablepublic void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMapclear in interface MutableLongKeysMappublic void put(long key,
char value)
put in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic void putAll(org.eclipse.collections.api.map.primitive.LongCharMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic void removeKey(long key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableLongCharMapremoveKey in interface MutableLongKeysMappublic void remove(long key)
remove in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic char removeKeyIfAbsent(long key,
char value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic char getIfAbsentPut(long key,
char value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic char getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.CharFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic <P> char getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.CharFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic char getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToCharFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic char addToValue(long key,
char toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic char updateValue(long key,
char initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.CharToCharFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic LongCharHashMap withKeyValue(long key1, char value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic LongCharHashMap withKeysValues(long key1, char value1, long key2, char value2)
public LongCharHashMap withKeysValues(long key1, char value1, long key2, char value2, long key3, char value3)
public LongCharHashMap withKeysValues(long key1, char value1, long key2, char value2, long key3, char value3, long key4, char value4)
public LongCharHashMap withoutKey(long key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic LongCharHashMap withoutAllKeys(org.eclipse.collections.api.LongIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic org.eclipse.collections.api.map.primitive.MutableLongCharMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic org.eclipse.collections.api.map.primitive.MutableLongCharMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic org.eclipse.collections.api.map.primitive.ImmutableLongCharMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.LongCharMappublic char get(long key)
get in interface org.eclipse.collections.api.map.primitive.LongCharMappublic char getIfAbsent(long key,
char ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.LongCharMappublic char getOrThrow(long key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.LongCharMappublic boolean containsKey(long key)
containsKey in interface org.eclipse.collections.api.map.primitive.LongCharMapcontainsKey in interface LongKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.LongCharMapforEachKey in interface LongKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongCharProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.LongCharMappublic org.eclipse.collections.api.LazyLongIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.LongCharMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongCharPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.LongCharMappublic LongCharHashMap select(org.eclipse.collections.api.block.predicate.primitive.LongCharPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.LongCharMapselect in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic LongCharHashMap reject(org.eclipse.collections.api.block.predicate.primitive.LongCharPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.LongCharMapreject in interface org.eclipse.collections.api.map.primitive.MutableLongCharMappublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void compact()
public org.eclipse.collections.api.set.primitive.MutableLongSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.LongCharMappublic org.eclipse.collections.api.collection.primitive.MutableCharCollection values()
values in interface org.eclipse.collections.api.map.primitive.CharValuesMapCopyright © 2004–2018. All rights reserved.