Class ConcurrentHashMap<K, V>
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class ConcurrentHashMap<K, V> : AbstractMap<K, V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IMap<K, V>
Type Parameters
KV
- Inheritance
-
JVMBridgeBase<Map<K, V>>Map<K, V>AbstractMap<K, V>ConcurrentHashMap<K, V>
- Implements
-
IMap<K, V>
- Inherited Members
- Extension Methods
Constructors
ConcurrentHashMap()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ConcurrentHashMap()
ConcurrentHashMap(Map<K, V>)
public ConcurrentHashMap(Map<K, V> arg0)
Parameters
ConcurrentHashMap(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ConcurrentHashMap(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
ConcurrentHashMap(int)
public ConcurrentHashMap(int arg0)
Parameters
ConcurrentHashMap(int, float)
public ConcurrentHashMap(int arg0, float arg1)
Parameters
ConcurrentHashMap(int, float, int)
public ConcurrentHashMap(int arg0, float arg1, int arg2)
Parameters
ConcurrentHashMap(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public ConcurrentHashMap(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Contains(object)
public bool Contains(object arg0)
Parameters
Returns
Elements()
public Enumeration<V> Elements()
Returns
ForEachEntry<Arg1objectSuperJava_Util_Map_Entry_K_V_>(long, Consumer<Arg1objectSuperJava_Util_Map_Entry_K_V_>)
public void ForEachEntry<Arg1objectSuperJava_Util_Map_Entry_K_V_>(long arg0, Consumer<Arg1objectSuperJava_Util_Map_Entry_K_V_> arg1) where Arg1objectSuperJava_Util_Map_Entry_K_V_ : Map.Entry<K, V>
Parameters
Type Parameters
Arg1objectSuperJava_Util_Map_Entry_K_V_
ForEachEntry<Arg1ExtendsU, U, Arg2objectSuperU>(long, Function<Entry<K, V>, Arg1ExtendsU>, Consumer<Arg2objectSuperU>)
public void ForEachEntry<Arg1ExtendsU, U, Arg2objectSuperU>(long arg0, Function<Map.Entry<K, V>, Arg1ExtendsU> arg1, Consumer<Arg2objectSuperU> arg2) where Arg1ExtendsU : U where Arg2objectSuperU : U
Parameters
Type Parameters
Arg1ExtendsUUUArg2objectSuperUU
ForEachKey<Arg1objectSuperK>(long, Consumer<Arg1objectSuperK>)
public void ForEachKey<Arg1objectSuperK>(long arg0, Consumer<Arg1objectSuperK> arg1) where Arg1objectSuperK : K
Parameters
Type Parameters
Arg1objectSuperKK
ForEachKey<Arg1objectSuperK, Arg1ExtendsU, U, Arg2objectSuperU>(long, Function<Arg1objectSuperK, Arg1ExtendsU>, Consumer<Arg2objectSuperU>)
public void ForEachKey<Arg1objectSuperK, Arg1ExtendsU, U, Arg2objectSuperU>(long arg0, Function<Arg1objectSuperK, Arg1ExtendsU> arg1, Consumer<Arg2objectSuperU> arg2) where Arg1objectSuperK : K where Arg1ExtendsU : U where Arg2objectSuperU : U
Parameters
Type Parameters
Arg1objectSuperKKArg1ExtendsUUUArg2objectSuperUU
ForEachValue<Arg1objectSuperV>(long, Consumer<Arg1objectSuperV>)
public void ForEachValue<Arg1objectSuperV>(long arg0, Consumer<Arg1objectSuperV> arg1) where Arg1objectSuperV : V
Parameters
Type Parameters
Arg1objectSuperVV
ForEachValue<Arg1objectSuperV, Arg1ExtendsU, U, Arg2objectSuperU>(long, Function<Arg1objectSuperV, Arg1ExtendsU>, Consumer<Arg2objectSuperU>)
public void ForEachValue<Arg1objectSuperV, Arg1ExtendsU, U, Arg2objectSuperU>(long arg0, Function<Arg1objectSuperV, Arg1ExtendsU> arg1, Consumer<Arg2objectSuperU> arg2) where Arg1objectSuperV : V where Arg1ExtendsU : U where Arg2objectSuperU : U
Parameters
Type Parameters
Arg1objectSuperVVArg1ExtendsUUUArg2objectSuperUU
ForEach<Arg1objectSuperK, Arg1objectSuperV>(long, BiConsumer<Arg1objectSuperK, Arg1objectSuperV>)
public void ForEach<Arg1objectSuperK, Arg1objectSuperV>(long arg0, BiConsumer<Arg1objectSuperK, Arg1objectSuperV> arg1) where Arg1objectSuperK : K where Arg1objectSuperV : V
Parameters
arg0longarg1BiConsumer<Arg1objectSuperK, Arg1objectSuperV>
Type Parameters
Arg1objectSuperKKArg1objectSuperVV
ForEach<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU, U, Arg2objectSuperU>(long, BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU>, Consumer<Arg2objectSuperU>)
public void ForEach<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU, U, Arg2objectSuperU>(long arg0, BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU> arg1, Consumer<Arg2objectSuperU> arg2) where Arg1objectSuperK : K where Arg1objectSuperV : V where Arg1ExtendsU : U where Arg2objectSuperU : U
Parameters
arg0longarg1BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU>arg2Consumer<Arg2objectSuperU>
Type Parameters
Arg1objectSuperKKArg1objectSuperVVArg1ExtendsUUUArg2objectSuperUU
KeySet(V)
public ConcurrentHashMap.KeySetView<K, V> KeySet(V arg0)
Parameters
arg0VV
Returns
Keys()
public Enumeration<K> Keys()
Returns
MappingCount()
public long MappingCount()
Returns
NewKeySet()
public static ConcurrentHashMap.KeySetView<K, Boolean> NewKeySet()
Returns
NewKeySet(int)
public static ConcurrentHashMap.KeySetView<K, Boolean> NewKeySet(int arg0)
Parameters
Returns
ReduceEntriesToDouble(long, ToDoubleFunction<Entry<K, V>>, double, DoubleBinaryOperator)
public double ReduceEntriesToDouble(long arg0, ToDoubleFunction<Map.Entry<K, V>> arg1, double arg2, DoubleBinaryOperator arg3)
Parameters
arg0longarg1ToDoubleFunction<Map.Entry<K, V>>arg2doublearg3DoubleBinaryOperator
Returns
ReduceEntriesToInt(long, ToIntFunction<Entry<K, V>>, int, IntBinaryOperator)
public int ReduceEntriesToInt(long arg0, ToIntFunction<Map.Entry<K, V>> arg1, int arg2, IntBinaryOperator arg3)
Parameters
arg0longarg1ToIntFunction<Map.Entry<K, V>>arg2intarg3IntBinaryOperator
Returns
ReduceEntriesToLong(long, ToLongFunction<Entry<K, V>>, long, LongBinaryOperator)
public long ReduceEntriesToLong(long arg0, ToLongFunction<Map.Entry<K, V>> arg1, long arg2, LongBinaryOperator arg3)
Parameters
arg0longarg1ToLongFunction<Map.Entry<K, V>>arg2longarg3LongBinaryOperator
Returns
ReduceEntries<Arg1ExtendsJava_Util_Map_Entry_K_V_>(long, BiFunction<Entry<K, V>, Entry<K, V>, Arg1ExtendsJava_Util_Map_Entry_K_V_>)
public Map.Entry<K, V> ReduceEntries<Arg1ExtendsJava_Util_Map_Entry_K_V_>(long arg0, BiFunction<Map.Entry<K, V>, Map.Entry<K, V>, Arg1ExtendsJava_Util_Map_Entry_K_V_> arg1) where Arg1ExtendsJava_Util_Map_Entry_K_V_ : Map.Entry<K, V>
Parameters
Returns
Type Parameters
Arg1ExtendsJava_Util_Map_Entry_K_V_
ReduceEntries<U, Arg1ExtendsU, Arg2objectSuperU, Arg2ExtendsU>(long, Function<Entry<K, V>, Arg1ExtendsU>, BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU>)
public U ReduceEntries<U, Arg1ExtendsU, Arg2objectSuperU, Arg2ExtendsU>(long arg0, Function<Map.Entry<K, V>, Arg1ExtendsU> arg1, BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU> arg2) where Arg1ExtendsU : U where Arg2objectSuperU : U where Arg2ExtendsU : U
Parameters
arg0longarg1Function<Map.Entry<K, V>, Arg1ExtendsU>arg2BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU>
Returns
- U
U
Type Parameters
UArg1ExtendsUUArg2objectSuperUUArg2ExtendsUU
ReduceKeysToDouble<Arg1objectSuperK>(long, ToDoubleFunction<Arg1objectSuperK>, double, DoubleBinaryOperator)
public double ReduceKeysToDouble<Arg1objectSuperK>(long arg0, ToDoubleFunction<Arg1objectSuperK> arg1, double arg2, DoubleBinaryOperator arg3) where Arg1objectSuperK : K
Parameters
arg0longarg1ToDoubleFunction<Arg1objectSuperK>arg2doublearg3DoubleBinaryOperator
Returns
Type Parameters
Arg1objectSuperKK
ReduceKeysToInt<Arg1objectSuperK>(long, ToIntFunction<Arg1objectSuperK>, int, IntBinaryOperator)
public int ReduceKeysToInt<Arg1objectSuperK>(long arg0, ToIntFunction<Arg1objectSuperK> arg1, int arg2, IntBinaryOperator arg3) where Arg1objectSuperK : K
Parameters
arg0longarg1ToIntFunction<Arg1objectSuperK>arg2intarg3IntBinaryOperator
Returns
Type Parameters
Arg1objectSuperKK
ReduceKeysToLong<Arg1objectSuperK>(long, ToLongFunction<Arg1objectSuperK>, long, LongBinaryOperator)
public long ReduceKeysToLong<Arg1objectSuperK>(long arg0, ToLongFunction<Arg1objectSuperK> arg1, long arg2, LongBinaryOperator arg3) where Arg1objectSuperK : K
Parameters
arg0longarg1ToLongFunction<Arg1objectSuperK>arg2longarg3LongBinaryOperator
Returns
Type Parameters
Arg1objectSuperKK
ReduceKeys<Arg1objectSuperK, Arg1ExtendsK>(long, BiFunction<Arg1objectSuperK, Arg1objectSuperK, Arg1ExtendsK>)
public K ReduceKeys<Arg1objectSuperK, Arg1ExtendsK>(long arg0, BiFunction<Arg1objectSuperK, Arg1objectSuperK, Arg1ExtendsK> arg1) where Arg1objectSuperK : K where Arg1ExtendsK : K
Parameters
arg0longarg1BiFunction<Arg1objectSuperK, Arg1objectSuperK, Arg1ExtendsK>
Returns
- K
K
Type Parameters
Arg1objectSuperKKArg1ExtendsKK
ReduceKeys<U, Arg1objectSuperK, Arg1ExtendsU, Arg2objectSuperU, Arg2ExtendsU>(long, Function<Arg1objectSuperK, Arg1ExtendsU>, BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU>)
public U ReduceKeys<U, Arg1objectSuperK, Arg1ExtendsU, Arg2objectSuperU, Arg2ExtendsU>(long arg0, Function<Arg1objectSuperK, Arg1ExtendsU> arg1, BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU> arg2) where Arg1objectSuperK : K where Arg1ExtendsU : U where Arg2objectSuperU : U where Arg2ExtendsU : U
Parameters
arg0longarg1Function<Arg1objectSuperK, Arg1ExtendsU>arg2BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU>
Returns
- U
U
Type Parameters
UArg1objectSuperKKArg1ExtendsUUArg2objectSuperUUArg2ExtendsUU
ReduceToDouble<Arg1objectSuperK, Arg1objectSuperV>(long, ToDoubleBiFunction<Arg1objectSuperK, Arg1objectSuperV>, double, DoubleBinaryOperator)
public double ReduceToDouble<Arg1objectSuperK, Arg1objectSuperV>(long arg0, ToDoubleBiFunction<Arg1objectSuperK, Arg1objectSuperV> arg1, double arg2, DoubleBinaryOperator arg3) where Arg1objectSuperK : K where Arg1objectSuperV : V
Parameters
arg0longarg1ToDoubleBiFunction<Arg1objectSuperK, Arg1objectSuperV>arg2doublearg3DoubleBinaryOperator
Returns
Type Parameters
Arg1objectSuperKKArg1objectSuperVV
ReduceToInt<Arg1objectSuperK, Arg1objectSuperV>(long, ToIntBiFunction<Arg1objectSuperK, Arg1objectSuperV>, int, IntBinaryOperator)
public int ReduceToInt<Arg1objectSuperK, Arg1objectSuperV>(long arg0, ToIntBiFunction<Arg1objectSuperK, Arg1objectSuperV> arg1, int arg2, IntBinaryOperator arg3) where Arg1objectSuperK : K where Arg1objectSuperV : V
Parameters
arg0longarg1ToIntBiFunction<Arg1objectSuperK, Arg1objectSuperV>arg2intarg3IntBinaryOperator
Returns
Type Parameters
Arg1objectSuperKKArg1objectSuperVV
ReduceToLong<Arg1objectSuperK, Arg1objectSuperV>(long, ToLongBiFunction<Arg1objectSuperK, Arg1objectSuperV>, long, LongBinaryOperator)
public long ReduceToLong<Arg1objectSuperK, Arg1objectSuperV>(long arg0, ToLongBiFunction<Arg1objectSuperK, Arg1objectSuperV> arg1, long arg2, LongBinaryOperator arg3) where Arg1objectSuperK : K where Arg1objectSuperV : V
Parameters
arg0longarg1ToLongBiFunction<Arg1objectSuperK, Arg1objectSuperV>arg2longarg3LongBinaryOperator
Returns
Type Parameters
Arg1objectSuperKKArg1objectSuperVV
ReduceValuesToDouble<Arg1objectSuperV>(long, ToDoubleFunction<Arg1objectSuperV>, double, DoubleBinaryOperator)
public double ReduceValuesToDouble<Arg1objectSuperV>(long arg0, ToDoubleFunction<Arg1objectSuperV> arg1, double arg2, DoubleBinaryOperator arg3) where Arg1objectSuperV : V
Parameters
arg0longarg1ToDoubleFunction<Arg1objectSuperV>arg2doublearg3DoubleBinaryOperator
Returns
Type Parameters
Arg1objectSuperVV
ReduceValuesToInt<Arg1objectSuperV>(long, ToIntFunction<Arg1objectSuperV>, int, IntBinaryOperator)
public int ReduceValuesToInt<Arg1objectSuperV>(long arg0, ToIntFunction<Arg1objectSuperV> arg1, int arg2, IntBinaryOperator arg3) where Arg1objectSuperV : V
Parameters
arg0longarg1ToIntFunction<Arg1objectSuperV>arg2intarg3IntBinaryOperator
Returns
Type Parameters
Arg1objectSuperVV
ReduceValuesToLong<Arg1objectSuperV>(long, ToLongFunction<Arg1objectSuperV>, long, LongBinaryOperator)
public long ReduceValuesToLong<Arg1objectSuperV>(long arg0, ToLongFunction<Arg1objectSuperV> arg1, long arg2, LongBinaryOperator arg3) where Arg1objectSuperV : V
Parameters
arg0longarg1ToLongFunction<Arg1objectSuperV>arg2longarg3LongBinaryOperator
Returns
Type Parameters
Arg1objectSuperVV
ReduceValues<Arg1objectSuperV, Arg1ExtendsV>(long, BiFunction<Arg1objectSuperV, Arg1objectSuperV, Arg1ExtendsV>)
public V ReduceValues<Arg1objectSuperV, Arg1ExtendsV>(long arg0, BiFunction<Arg1objectSuperV, Arg1objectSuperV, Arg1ExtendsV> arg1) where Arg1objectSuperV : V where Arg1ExtendsV : V
Parameters
arg0longarg1BiFunction<Arg1objectSuperV, Arg1objectSuperV, Arg1ExtendsV>
Returns
- V
V
Type Parameters
Arg1objectSuperVVArg1ExtendsVV
ReduceValues<U, Arg1objectSuperV, Arg1ExtendsU, Arg2objectSuperU, Arg2ExtendsU>(long, Function<Arg1objectSuperV, Arg1ExtendsU>, BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU>)
public U ReduceValues<U, Arg1objectSuperV, Arg1ExtendsU, Arg2objectSuperU, Arg2ExtendsU>(long arg0, Function<Arg1objectSuperV, Arg1ExtendsU> arg1, BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU> arg2) where Arg1objectSuperV : V where Arg1ExtendsU : U where Arg2objectSuperU : U where Arg2ExtendsU : U
Parameters
arg0longarg1Function<Arg1objectSuperV, Arg1ExtendsU>arg2BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU>
Returns
- U
U
Type Parameters
UArg1objectSuperVVArg1ExtendsUUArg2objectSuperUUArg2ExtendsUU
Reduce<U, Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU, Arg2objectSuperU, Arg2ExtendsU>(long, BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU>, BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU>)
public U Reduce<U, Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU, Arg2objectSuperU, Arg2ExtendsU>(long arg0, BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU> arg1, BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU> arg2) where Arg1objectSuperK : K where Arg1objectSuperV : V where Arg1ExtendsU : U where Arg2objectSuperU : U where Arg2ExtendsU : U
Parameters
arg0longarg1BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU>arg2BiFunction<Arg2objectSuperU, Arg2objectSuperU, Arg2ExtendsU>
Returns
- U
U
Type Parameters
UArg1objectSuperKKArg1objectSuperVVArg1ExtendsUUArg2objectSuperUUArg2ExtendsUU
SearchEntries<U, Arg1ExtendsU>(long, Function<Entry<K, V>, Arg1ExtendsU>)
public U SearchEntries<U, Arg1ExtendsU>(long arg0, Function<Map.Entry<K, V>, Arg1ExtendsU> arg1) where Arg1ExtendsU : U
Parameters
Returns
- U
U
Type Parameters
UArg1ExtendsUU
SearchKeys<U, Arg1objectSuperK, Arg1ExtendsU>(long, Function<Arg1objectSuperK, Arg1ExtendsU>)
public U SearchKeys<U, Arg1objectSuperK, Arg1ExtendsU>(long arg0, Function<Arg1objectSuperK, Arg1ExtendsU> arg1) where Arg1objectSuperK : K where Arg1ExtendsU : U
Parameters
Returns
- U
U
Type Parameters
UArg1objectSuperKKArg1ExtendsUU
SearchValues<U, Arg1objectSuperV, Arg1ExtendsU>(long, Function<Arg1objectSuperV, Arg1ExtendsU>)
public U SearchValues<U, Arg1objectSuperV, Arg1ExtendsU>(long arg0, Function<Arg1objectSuperV, Arg1ExtendsU> arg1) where Arg1objectSuperV : V where Arg1ExtendsU : U
Parameters
Returns
- U
U
Type Parameters
UArg1objectSuperVVArg1ExtendsUU
Search<U, Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU>(long, BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU>)
public U Search<U, Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU>(long arg0, BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU> arg1) where Arg1objectSuperK : K where Arg1objectSuperV : V where Arg1ExtendsU : U
Parameters
arg0longarg1BiFunction<Arg1objectSuperK, Arg1objectSuperV, Arg1ExtendsU>
Returns
- U
U
Type Parameters
UArg1objectSuperKKArg1objectSuperVVArg1ExtendsUU
Operators
implicit operator Serializable(ConcurrentHashMap<K, V>)
Converter from ConcurrentHashMap<K, V> to Serializable
public static implicit operator Serializable(ConcurrentHashMap<K, V> t)
Parameters
tConcurrentHashMap<K, V>
Returns
implicit operator ConcurrentHashMap(ConcurrentHashMap<K, V>)
Converter from ConcurrentHashMap<K, V> to ConcurrentHashMap
public static implicit operator ConcurrentHashMap(ConcurrentHashMap<K, V> t)
Parameters
tConcurrentHashMap<K, V>
Returns
implicit operator ConcurrentMap<K, V>(ConcurrentHashMap<K, V>)
Converter from ConcurrentHashMap<K, V> to ConcurrentMap<K, V>
public static implicit operator ConcurrentMap<K, V>(ConcurrentHashMap<K, V> t)
Parameters
tConcurrentHashMap<K, V>
Returns
- ConcurrentMap<K, V>