类 Long2IntConcurrentNonLinkedOpenMap
java.lang.Object
it.unimi.dsi.fastutil.longs.AbstractLong2IntFunction
it.unimi.dsi.fastutil.longs.AbstractLong2IntMap
it.unimi.dsi.fastutil.longs.AbstractLong2IntSortedMap
it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
cn.korostudio.c3h6n6o6.fastutil.Long2IntConcurrentNonLinkedOpenMap
- 所有已实现的接口:
it.unimi.dsi.fastutil.Function<Long,,Integer> it.unimi.dsi.fastutil.Hash,it.unimi.dsi.fastutil.longs.Long2IntFunction,it.unimi.dsi.fastutil.longs.Long2IntMap,it.unimi.dsi.fastutil.longs.Long2IntSortedMap,Serializable,Cloneable,Function<Long,,Integer> LongToIntFunction,Map<Long,,Integer> SortedMap<Long,Integer>
public class Long2IntConcurrentNonLinkedOpenMap
extends it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 it.unimi.dsi.fastutil.longs.AbstractLong2IntSortedMap
it.unimi.dsi.fastutil.longs.AbstractLong2IntSortedMap.KeySetIterator, it.unimi.dsi.fastutil.longs.AbstractLong2IntSortedMap.ValuesCollection, it.unimi.dsi.fastutil.longs.AbstractLong2IntSortedMap.ValuesIterator从类继承的嵌套类/接口 it.unimi.dsi.fastutil.longs.AbstractLong2IntMap
it.unimi.dsi.fastutil.longs.AbstractLong2IntMap.BasicEntry, it.unimi.dsi.fastutil.longs.AbstractLong2IntMap.BasicEntrySet从接口继承的嵌套类/接口 it.unimi.dsi.fastutil.Hash
it.unimi.dsi.fastutil.Hash.Strategy<K extends Object>从接口继承的嵌套类/接口 it.unimi.dsi.fastutil.longs.Long2IntMap
it.unimi.dsi.fastutil.longs.Long2IntMap.Entry, it.unimi.dsi.fastutil.longs.Long2IntMap.FastEntrySet从接口继承的嵌套类/接口 it.unimi.dsi.fastutil.longs.Long2IntSortedMap
it.unimi.dsi.fastutil.longs.Long2IntSortedMap.FastSortedEntrySet -
字段概要
字段从类继承的字段 it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
containsNullKey, entries, f, first, key, keys, last, link, mask, maxFill, minN, n, size, value, values从类继承的字段 it.unimi.dsi.fastutil.longs.AbstractLong2IntFunction
defRetValue从接口继承的字段 it.unimi.dsi.fastutil.Hash
DEFAULT_GROWTH_FACTOR, DEFAULT_INITIAL_SIZE, DEFAULT_LOAD_FACTOR, FAST_LOAD_FACTOR, FREE, OCCUPIED, PRIMES, REMOVED, VERY_FAST_LOAD_FACTOR -
构造器概要
构造器构造器说明Creates a new hash map with initial expectedHash.DEFAULT_INITIAL_SIZEentries andHash.DEFAULT_LOAD_FACTORas load factor.Long2IntConcurrentNonLinkedOpenMap(int expected) Creates a new hash map withHash.DEFAULT_LOAD_FACTORas load factor.Long2IntConcurrentNonLinkedOpenMap(int expected, float f) Long2IntConcurrentNonLinkedOpenMap(long[] k, int[] v) Creates a new hash map withHash.DEFAULT_LOAD_FACTORas load factor using the elements of two parallel arrays.Long2IntConcurrentNonLinkedOpenMap(long[] k, int[] v, float f) Creates a new hash map using the elements of two parallel arrays.Long2IntConcurrentNonLinkedOpenMap(it.unimi.dsi.fastutil.longs.Long2IntMap m) Creates a new hash map withHash.DEFAULT_LOAD_FACTORas load factor copying a given type-specific one.Long2IntConcurrentNonLinkedOpenMap(it.unimi.dsi.fastutil.longs.Long2IntMap m, float f) Creates a new hash map copying a given type-specific one.Long2IntConcurrentNonLinkedOpenMap(Map<? extends Long, ? extends Integer> m) Creates a new hash map withHash.DEFAULT_LOAD_FACTORas load factor copying a given one.Long2IntConcurrentNonLinkedOpenMap(Map<? extends Long, ? extends Integer> m, float f) Creates a new hash map copying a given one. -
方法概要
修饰符和类型方法说明intaddTo(long k, int incr) voidclear()clone()it.unimi.dsi.fastutil.longs.LongComparatorintcompute(long k, BiFunction<? super Long, ? super Integer, ? extends Integer> remappingFunction) intcomputeIfAbsent(long k, LongToIntFunction mappingFunction) intcomputeIfAbsentNullable(long k, LongFunction<? extends Integer> mappingFunction) intcomputeIfPresent(long k, BiFunction<? super Long, ? super Integer, ? extends Integer> remappingFunction) booleancontainsKey(long k) booleancontainsValue(int v) longintget(long k) intgetAndMoveToFirst(long k) intgetAndMoveToLast(long k) intgetOrDefault(long k, int defaultValue) inthashCode()it.unimi.dsi.fastutil.longs.Long2IntSortedMapheadMap(long to) booleanisEmpty()it.unimi.dsi.fastutil.longs.LongSortedSetkeySet()longit.unimi.dsi.fastutil.longs.Long2IntSortedMap.FastSortedEntrySetintmerge(long k, int v, BiFunction<? super Integer, ? super Integer, ? extends Integer> remappingFunction) intput(long k, int v) voidintputAndMoveToFirst(long k, int v) intputAndMoveToLast(long k, int v) intputIfAbsent(long k, int v) intremove(long k) booleanremove(long k, int v) intintintreplace(long k, int v) booleanreplace(long k, int oldValue, int v) intsize()it.unimi.dsi.fastutil.longs.Long2IntSortedMapsubMap(long from, long to) it.unimi.dsi.fastutil.longs.Long2IntSortedMaptailMap(long from) booleantrim()booleantrim(int n) it.unimi.dsi.fastutil.ints.IntCollectionvalues()从类继承的方法 it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
computeIfAbsent, fixPointers, fixPointers, rehash, shiftKeys从类继承的方法 it.unimi.dsi.fastutil.longs.AbstractLong2IntMap
equals, mergeInt, toString从类继承的方法 it.unimi.dsi.fastutil.longs.AbstractLong2IntFunction
defaultReturnValue, defaultReturnValue从接口继承的方法 it.unimi.dsi.fastutil.Function
apply从接口继承的方法 it.unimi.dsi.fastutil.longs.Long2IntFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort从接口继承的方法 it.unimi.dsi.fastutil.longs.Long2IntMap
compute, computeIfAbsent, computeIfAbsentPartial, computeIfPresent, containsKey, containsValue, defaultReturnValue, defaultReturnValue, forEach, get, getOrDefault, merge, mergeInt, mergeInt, put, putIfAbsent, remove, remove, replace, replace从接口继承的方法 it.unimi.dsi.fastutil.longs.Long2IntSortedMap
entrySet, firstKey, headMap, lastKey, subMap, tailMap从接口继承的方法 java.util.Map
containsKey, equals, get, getOrDefault, put, remove, replaceAll
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
backing
-
-
构造器详细资料
-
Long2IntConcurrentNonLinkedOpenMap
public Long2IntConcurrentNonLinkedOpenMap(int expected, float f) -
Long2IntConcurrentNonLinkedOpenMap
public Long2IntConcurrentNonLinkedOpenMap(int expected) Creates a new hash map withHash.DEFAULT_LOAD_FACTORas load factor.- 参数:
expected- the expected number of elements in the hash map.
-
Long2IntConcurrentNonLinkedOpenMap
public Long2IntConcurrentNonLinkedOpenMap()Creates a new hash map with initial expectedHash.DEFAULT_INITIAL_SIZEentries andHash.DEFAULT_LOAD_FACTORas load factor. -
Long2IntConcurrentNonLinkedOpenMap
Creates a new hash map copying a given one.- 参数:
m- aMapto be copied into the new hash map.f- the load factor.
-
Long2IntConcurrentNonLinkedOpenMap
Creates a new hash map withHash.DEFAULT_LOAD_FACTORas load factor copying a given one.- 参数:
m- aMapto be copied into the new hash map.
-
Long2IntConcurrentNonLinkedOpenMap
public Long2IntConcurrentNonLinkedOpenMap(it.unimi.dsi.fastutil.longs.Long2IntMap m, float f) Creates a new hash map copying a given type-specific one.- 参数:
m- a type-specific map to be copied into the new hash map.f- the load factor.
-
Long2IntConcurrentNonLinkedOpenMap
public Long2IntConcurrentNonLinkedOpenMap(it.unimi.dsi.fastutil.longs.Long2IntMap m) Creates a new hash map withHash.DEFAULT_LOAD_FACTORas load factor copying a given type-specific one.- 参数:
m- a type-specific map to be copied into the new hash map.
-
Long2IntConcurrentNonLinkedOpenMap
public Long2IntConcurrentNonLinkedOpenMap(long[] k, int[] v, float f) Creates a new hash map using the elements of two parallel arrays.- 参数:
k- the array of keys of the new hash map.v- the array of corresponding values in the new hash map.f- the load factor.- 抛出:
IllegalArgumentException- ifkandvhave different lengths.
-
Long2IntConcurrentNonLinkedOpenMap
public Long2IntConcurrentNonLinkedOpenMap(long[] k, int[] v) Creates a new hash map withHash.DEFAULT_LOAD_FACTORas load factor using the elements of two parallel arrays.- 参数:
k- the array of keys of the new hash map.v- the array of corresponding values in the new hash map.- 抛出:
IllegalArgumentException- ifkandvhave different lengths.
-
-
方法详细资料
-
putAll
-
put
public int put(long k, int v) - 指定者:
put在接口中it.unimi.dsi.fastutil.longs.Long2IntFunction- 覆盖:
put在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
addTo
public int addTo(long k, int incr) - 覆盖:
addTo在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
remove
public int remove(long k) - 指定者:
remove在接口中it.unimi.dsi.fastutil.longs.Long2IntFunction- 覆盖:
remove在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
removeFirstInt
public int removeFirstInt()- 覆盖:
removeFirstInt在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
removeLastInt
public int removeLastInt()- 覆盖:
removeLastInt在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
getAndMoveToFirst
public int getAndMoveToFirst(long k) - 覆盖:
getAndMoveToFirst在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
getAndMoveToLast
public int getAndMoveToLast(long k) - 覆盖:
getAndMoveToLast在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
putAndMoveToFirst
public int putAndMoveToFirst(long k, int v) - 覆盖:
putAndMoveToFirst在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
putAndMoveToLast
public int putAndMoveToLast(long k, int v) - 覆盖:
putAndMoveToLast在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
get
public int get(long k) - 指定者:
get在接口中it.unimi.dsi.fastutil.longs.Long2IntFunction- 覆盖:
get在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
containsKey
public boolean containsKey(long k) - 指定者:
containsKey在接口中it.unimi.dsi.fastutil.longs.Long2IntFunction- 指定者:
containsKey在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
containsKey在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
containsValue
public boolean containsValue(int v) - 指定者:
containsValue在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
containsValue在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
getOrDefault
public int getOrDefault(long k, int defaultValue) - 指定者:
getOrDefault在接口中it.unimi.dsi.fastutil.longs.Long2IntFunction- 指定者:
getOrDefault在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
getOrDefault在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
putIfAbsent
public int putIfAbsent(long k, int v) - 指定者:
putIfAbsent在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
putIfAbsent在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
remove
public boolean remove(long k, int v) - 指定者:
remove在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
remove在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
replace
public boolean replace(long k, int oldValue, int v) - 指定者:
replace在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
replace在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
replace
public int replace(long k, int v) - 指定者:
replace在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
replace在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
computeIfAbsent
- 指定者:
computeIfAbsent在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
computeIfAbsent在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
computeIfAbsentNullable
- 指定者:
computeIfAbsentNullable在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
computeIfAbsentNullable在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
computeIfPresent
public int computeIfPresent(long k, BiFunction<? super Long, ? super Integer, ? extends Integer> remappingFunction) - 指定者:
computeIfPresent在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
computeIfPresent在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
compute
public int compute(long k, BiFunction<? super Long, ? super Integer, ? extends Integer> remappingFunction) - 指定者:
compute在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
compute在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
merge
public int merge(long k, int v, BiFunction<? super Integer, ? super Integer, ? extends Integer> remappingFunction) - 指定者:
merge在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 覆盖:
merge在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
clear
public void clear() -
size
public int size() -
isEmpty
public boolean isEmpty() -
firstLongKey
public long firstLongKey()- 指定者:
firstLongKey在接口中it.unimi.dsi.fastutil.longs.Long2IntSortedMap- 覆盖:
firstLongKey在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
lastLongKey
public long lastLongKey()- 指定者:
lastLongKey在接口中it.unimi.dsi.fastutil.longs.Long2IntSortedMap- 覆盖:
lastLongKey在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
tailMap
public it.unimi.dsi.fastutil.longs.Long2IntSortedMap tailMap(long from) - 指定者:
tailMap在接口中it.unimi.dsi.fastutil.longs.Long2IntSortedMap- 覆盖:
tailMap在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
headMap
public it.unimi.dsi.fastutil.longs.Long2IntSortedMap headMap(long to) - 指定者:
headMap在接口中it.unimi.dsi.fastutil.longs.Long2IntSortedMap- 覆盖:
headMap在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
subMap
public it.unimi.dsi.fastutil.longs.Long2IntSortedMap subMap(long from, long to) - 指定者:
subMap在接口中it.unimi.dsi.fastutil.longs.Long2IntSortedMap- 覆盖:
subMap在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
comparator
public it.unimi.dsi.fastutil.longs.LongComparator comparator()- 指定者:
comparator在接口中it.unimi.dsi.fastutil.longs.Long2IntSortedMap- 指定者:
comparator在接口中SortedMap<Long,Integer> - 覆盖:
comparator在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
long2IntEntrySet
public it.unimi.dsi.fastutil.longs.Long2IntSortedMap.FastSortedEntrySet long2IntEntrySet()- 指定者:
long2IntEntrySet在接口中it.unimi.dsi.fastutil.longs.Long2IntMap- 指定者:
long2IntEntrySet在接口中it.unimi.dsi.fastutil.longs.Long2IntSortedMap- 覆盖:
long2IntEntrySet在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
keySet
public it.unimi.dsi.fastutil.longs.LongSortedSet keySet() -
values
public it.unimi.dsi.fastutil.ints.IntCollection values() -
trim
public boolean trim()- 覆盖:
trim在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
trim
public boolean trim(int n) - 覆盖:
trim在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
clone
- 覆盖:
clone在类中it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
-
hashCode
public int hashCode()
-