Table of Contents

Class ConcurrentHashMap

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class ConcurrentHashMap : AbstractMap, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Map>
ConcurrentHashMap
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Map>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Map>.IsAssignableFrom<T>()
JVMBridgeBase<Map>.Execute<T>(params T[])
JVMBridgeBase<Map>.DynBridgeClazz
JVMBridgeBase<Map>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
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)

public ConcurrentHashMap(Map arg0)

Parameters

arg0 Map

Map

ConcurrentHashMap(int)

public ConcurrentHashMap(int arg0)

Parameters

arg0 int

int

ConcurrentHashMap(int, float)

public ConcurrentHashMap(int arg0, float arg1)

Parameters

arg0 int

int

arg1 float

float

ConcurrentHashMap(int, float, int)

public ConcurrentHashMap(int arg0, float arg1, int arg2)

Parameters

arg0 int

int

arg1 float

float

arg2 int

int

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

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Contains(object)

public bool Contains(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

Elements()

public Enumeration Elements()

Returns

Enumeration

Enumeration

ForEach(long, BiConsumer)

public void ForEach(long arg0, BiConsumer arg1)

Parameters

arg0 long

long

arg1 BiConsumer

BiConsumer

ForEach(long, BiFunction, Consumer)

public void ForEach(long arg0, BiFunction arg1, Consumer arg2)

Parameters

arg0 long

long

arg1 BiFunction

BiFunction

arg2 Consumer

Consumer

ForEachEntry(long, Consumer)

public void ForEachEntry(long arg0, Consumer arg1)

Parameters

arg0 long

long

arg1 Consumer

Consumer

ForEachEntry(long, Function, Consumer)

public void ForEachEntry(long arg0, Function arg1, Consumer arg2)

Parameters

arg0 long

long

arg1 Function

Function

arg2 Consumer

Consumer

ForEachKey(long, Consumer)

public void ForEachKey(long arg0, Consumer arg1)

Parameters

arg0 long

long

arg1 Consumer

Consumer

ForEachKey(long, Function, Consumer)

public void ForEachKey(long arg0, Function arg1, Consumer arg2)

Parameters

arg0 long

long

arg1 Function

Function

arg2 Consumer

Consumer

ForEachValue(long, Consumer)

public void ForEachValue(long arg0, Consumer arg1)

Parameters

arg0 long

long

arg1 Consumer

Consumer

ForEachValue(long, Function, Consumer)

public void ForEachValue(long arg0, Function arg1, Consumer arg2)

Parameters

arg0 long

long

arg1 Function

Function

arg2 Consumer

Consumer

KeySet(object)

public ConcurrentHashMap.KeySetView KeySet(object arg0)

Parameters

arg0 object

object

Returns

ConcurrentHashMap.KeySetView

ConcurrentHashMap.KeySetView

Keys()

public Enumeration Keys()

Returns

Enumeration

Enumeration

MappingCount()

public long MappingCount()

Returns

long

long

NewKeySet()

public static ConcurrentHashMap.KeySetView NewKeySet()

Returns

ConcurrentHashMap.KeySetView

ConcurrentHashMap.KeySetView

NewKeySet(int)

public static ConcurrentHashMap.KeySetView NewKeySet(int arg0)

Parameters

arg0 int

int

Returns

ConcurrentHashMap.KeySetView

ConcurrentHashMap.KeySetView

Reduce(long, BiFunction, BiFunction)

public object Reduce(long arg0, BiFunction arg1, BiFunction arg2)

Parameters

arg0 long

long

arg1 BiFunction

BiFunction

arg2 BiFunction

BiFunction

Returns

object

object

ReduceEntries(long, BiFunction)

public Map.Entry ReduceEntries(long arg0, BiFunction arg1)

Parameters

arg0 long

long

arg1 BiFunction

BiFunction

Returns

Map.Entry

Map.Entry

ReduceEntries(long, Function, BiFunction)

public object ReduceEntries(long arg0, Function arg1, BiFunction arg2)

Parameters

arg0 long

long

arg1 Function

Function

arg2 BiFunction

BiFunction

Returns

object

object

ReduceEntriesToDouble(long, ToDoubleFunction, double, DoubleBinaryOperator)

public double ReduceEntriesToDouble(long arg0, ToDoubleFunction arg1, double arg2, DoubleBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToDoubleFunction

ToDoubleFunction

arg2 double

double

arg3 DoubleBinaryOperator

DoubleBinaryOperator

Returns

double

double

ReduceEntriesToInt(long, ToIntFunction, int, IntBinaryOperator)

public int ReduceEntriesToInt(long arg0, ToIntFunction arg1, int arg2, IntBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToIntFunction

ToIntFunction

arg2 int

int

arg3 IntBinaryOperator

IntBinaryOperator

Returns

int

int

ReduceEntriesToLong(long, ToLongFunction, long, LongBinaryOperator)

public long ReduceEntriesToLong(long arg0, ToLongFunction arg1, long arg2, LongBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToLongFunction

ToLongFunction

arg2 long

long

arg3 LongBinaryOperator

LongBinaryOperator

Returns

long

long

ReduceKeys(long, BiFunction)

public object ReduceKeys(long arg0, BiFunction arg1)

Parameters

arg0 long

long

arg1 BiFunction

BiFunction

Returns

object

object

ReduceKeys(long, Function, BiFunction)

public object ReduceKeys(long arg0, Function arg1, BiFunction arg2)

Parameters

arg0 long

long

arg1 Function

Function

arg2 BiFunction

BiFunction

Returns

object

object

ReduceKeysToDouble(long, ToDoubleFunction, double, DoubleBinaryOperator)

public double ReduceKeysToDouble(long arg0, ToDoubleFunction arg1, double arg2, DoubleBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToDoubleFunction

ToDoubleFunction

arg2 double

double

arg3 DoubleBinaryOperator

DoubleBinaryOperator

Returns

double

double

ReduceKeysToInt(long, ToIntFunction, int, IntBinaryOperator)

public int ReduceKeysToInt(long arg0, ToIntFunction arg1, int arg2, IntBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToIntFunction

ToIntFunction

arg2 int

int

arg3 IntBinaryOperator

IntBinaryOperator

Returns

int

int

ReduceKeysToLong(long, ToLongFunction, long, LongBinaryOperator)

public long ReduceKeysToLong(long arg0, ToLongFunction arg1, long arg2, LongBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToLongFunction

ToLongFunction

arg2 long

long

arg3 LongBinaryOperator

LongBinaryOperator

Returns

long

long

ReduceToDouble(long, ToDoubleBiFunction, double, DoubleBinaryOperator)

public double ReduceToDouble(long arg0, ToDoubleBiFunction arg1, double arg2, DoubleBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToDoubleBiFunction

ToDoubleBiFunction

arg2 double

double

arg3 DoubleBinaryOperator

DoubleBinaryOperator

Returns

double

double

ReduceToInt(long, ToIntBiFunction, int, IntBinaryOperator)

public int ReduceToInt(long arg0, ToIntBiFunction arg1, int arg2, IntBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToIntBiFunction

ToIntBiFunction

arg2 int

int

arg3 IntBinaryOperator

IntBinaryOperator

Returns

int

int

ReduceToLong(long, ToLongBiFunction, long, LongBinaryOperator)

public long ReduceToLong(long arg0, ToLongBiFunction arg1, long arg2, LongBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToLongBiFunction

ToLongBiFunction

arg2 long

long

arg3 LongBinaryOperator

LongBinaryOperator

Returns

long

long

ReduceValues(long, BiFunction)

public object ReduceValues(long arg0, BiFunction arg1)

Parameters

arg0 long

long

arg1 BiFunction

BiFunction

Returns

object

object

ReduceValues(long, Function, BiFunction)

public object ReduceValues(long arg0, Function arg1, BiFunction arg2)

Parameters

arg0 long

long

arg1 Function

Function

arg2 BiFunction

BiFunction

Returns

object

object

ReduceValuesToDouble(long, ToDoubleFunction, double, DoubleBinaryOperator)

public double ReduceValuesToDouble(long arg0, ToDoubleFunction arg1, double arg2, DoubleBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToDoubleFunction

ToDoubleFunction

arg2 double

double

arg3 DoubleBinaryOperator

DoubleBinaryOperator

Returns

double

double

ReduceValuesToInt(long, ToIntFunction, int, IntBinaryOperator)

public int ReduceValuesToInt(long arg0, ToIntFunction arg1, int arg2, IntBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToIntFunction

ToIntFunction

arg2 int

int

arg3 IntBinaryOperator

IntBinaryOperator

Returns

int

int

ReduceValuesToLong(long, ToLongFunction, long, LongBinaryOperator)

public long ReduceValuesToLong(long arg0, ToLongFunction arg1, long arg2, LongBinaryOperator arg3)

Parameters

arg0 long

long

arg1 ToLongFunction

ToLongFunction

arg2 long

long

arg3 LongBinaryOperator

LongBinaryOperator

Returns

long

long

Search(long, BiFunction)

public object Search(long arg0, BiFunction arg1)

Parameters

arg0 long

long

arg1 BiFunction

BiFunction

Returns

object

object

SearchEntries(long, Function)

public object SearchEntries(long arg0, Function arg1)

Parameters

arg0 long

long

arg1 Function

Function

Returns

object

object

SearchKeys(long, Function)

public object SearchKeys(long arg0, Function arg1)

Parameters

arg0 long

long

arg1 Function

Function

Returns

object

object

SearchValues(long, Function)

public object SearchValues(long arg0, Function arg1)

Parameters

arg0 long

long

arg1 Function

Function

Returns

object

object

Operators

implicit operator Serializable(ConcurrentHashMap)

Converter from ConcurrentHashMap to Serializable

public static implicit operator Serializable(ConcurrentHashMap t)

Parameters

t ConcurrentHashMap

Returns

Serializable

implicit operator ConcurrentMap(ConcurrentHashMap)

Converter from ConcurrentHashMap to ConcurrentMap

public static implicit operator ConcurrentMap(ConcurrentHashMap t)

Parameters

t ConcurrentHashMap

Returns

ConcurrentMap