public class TSynchronizedLongIntMap extends Objectimplements TLongIntMap , Serializable
| Constructor and Description |
|---|
TSynchronizedLongIntMap(TLongIntMap
|
TSynchronizedLongIntMap(TLongIntMap
|
| Modifier and Type | Method and Description |
|---|---|
int |
adjustOrPutValue(long key, int adjust_amount, int put_amount)
|
boolean |
adjustValue(long key, int amount)
|
void |
clear()
|
boolean |
containsKey(long key)
|
boolean |
containsValue(int value)
|
boolean |
equals(Object
|
boolean |
forEachEntry(TLongIntProcedure
|
boolean |
forEachKey(TLongProcedure
|
boolean |
forEachValue(TIntProcedure
|
int |
get(long key)
|
long |
getNoEntryKey()
|
int |
getNoEntryValue()
|
int |
hashCode()
|
boolean |
increment(long key)
|
boolean |
isEmpty()
|
TLongIntIterator |
iterator()
|
long[] |
keys()
|
long[] |
keys(long[] array)
|
TLongSet |
keySet()
|
int |
put(long key, int value)
|
void |
putAll(Map
|
void |
putAll(TLongIntMap
|
int |
putIfAbsent(long key, int value)
|
int |
remove(long key)
|
boolean |
retainEntries(TLongIntProcedure
|
int |
size()
|
String |
toString()
|
void |
transformValues(TIntFunction
|
TIntCollection |
valueCollection()
|
int[] |
values()
|
int[] |
values(int[] array)
|
public TSynchronizedLongIntMap(TLongIntMapm)
public TSynchronizedLongIntMap(TLongIntMapm, Object mutex)
public int size()
public boolean isEmpty()
public boolean containsKey(long key)
public boolean containsValue(int value)
public int get(long key)
public int put(long key,
int value)public int remove(long key)
public void putAll(TLongIntMapmap)
public void clear()
public TLongSetkeySet()
public long[] keys()
public long[] keys(long[] array)
public TIntCollectionvalueCollection()
public int[] values()
public int[] values(int[] array)
public TLongIntIteratoriterator()
public long getNoEntryKey()
public int getNoEntryValue()
public int putIfAbsent(long key,
int value)public boolean forEachKey(TLongProcedureprocedure)
public boolean forEachValue(TIntProcedureprocedure)
public boolean forEachEntry(TLongIntProcedureprocedure)
public void transformValues(TIntFunctionfunction)
public boolean retainEntries(TLongIntProcedureprocedure)
public boolean increment(long key)
public boolean adjustValue(long key,
int amount)public int adjustOrPutValue(long key,
int adjust_amount,
int put_amount)public boolean equals(Objecto)
public int hashCode()
public StringtoString()