类 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_SIZE
entries andHash.DEFAULT_LOAD_FACTOR
as load factor.Long2IntConcurrentNonLinkedOpenMap
(int expected) Creates a new hash map withHash.DEFAULT_LOAD_FACTOR
as load factor.Long2IntConcurrentNonLinkedOpenMap
(int expected, float f) Long2IntConcurrentNonLinkedOpenMap
(long[] k, int[] v) Creates a new hash map withHash.DEFAULT_LOAD_FACTOR
as 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_FACTOR
as 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_FACTOR
as load factor copying a given one.Long2IntConcurrentNonLinkedOpenMap
(Map<? extends Long, ? extends Integer> m, float f) Creates a new hash map copying a given one. -
方法概要
修饰符和类型方法说明int
addTo
(long k, int incr) void
clear()
clone()
it.unimi.dsi.fastutil.longs.LongComparator
int
compute
(long k, BiFunction<? super Long, ? super Integer, ? extends Integer> remappingFunction) int
computeIfAbsent
(long k, LongToIntFunction mappingFunction) int
computeIfAbsentNullable
(long k, LongFunction<? extends Integer> mappingFunction) int
computeIfPresent
(long k, BiFunction<? super Long, ? super Integer, ? extends Integer> remappingFunction) boolean
containsKey
(long k) boolean
containsValue
(int v) long
int
get
(long k) int
getAndMoveToFirst
(long k) int
getAndMoveToLast
(long k) int
getOrDefault
(long k, int defaultValue) int
hashCode()
it.unimi.dsi.fastutil.longs.Long2IntSortedMap
headMap
(long to) boolean
isEmpty()
it.unimi.dsi.fastutil.longs.LongSortedSet
keySet()
long
it.unimi.dsi.fastutil.longs.Long2IntSortedMap.FastSortedEntrySet
int
merge
(long k, int v, BiFunction<? super Integer, ? super Integer, ? extends Integer> remappingFunction) int
put
(long k, int v) void
int
putAndMoveToFirst
(long k, int v) int
putAndMoveToLast
(long k, int v) int
putIfAbsent
(long k, int v) int
remove
(long k) boolean
remove
(long k, int v) int
int
int
replace
(long k, int v) boolean
replace
(long k, int oldValue, int v) int
size()
it.unimi.dsi.fastutil.longs.Long2IntSortedMap
subMap
(long from, long to) it.unimi.dsi.fastutil.longs.Long2IntSortedMap
tailMap
(long from) boolean
trim()
boolean
trim
(int n) it.unimi.dsi.fastutil.ints.IntCollection
values()
从类继承的方法 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_FACTOR
as 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_SIZE
entries andHash.DEFAULT_LOAD_FACTOR
as load factor. -
Long2IntConcurrentNonLinkedOpenMap
Creates a new hash map copying a given one.- 参数:
m
- aMap
to be copied into the new hash map.f
- the load factor.
-
Long2IntConcurrentNonLinkedOpenMap
Creates a new hash map withHash.DEFAULT_LOAD_FACTOR
as load factor copying a given one.- 参数:
m
- aMap
to 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_FACTOR
as 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
- ifk
andv
have different lengths.
-
Long2IntConcurrentNonLinkedOpenMap
public Long2IntConcurrentNonLinkedOpenMap(long[] k, int[] v) Creates a new hash map withHash.DEFAULT_LOAD_FACTOR
as 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
- ifk
andv
have 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()
-