Class CopyOnWriteMap<K, V>
public class CopyOnWriteMap<K, V> : ConcurrentMap<K, V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IConcurrentMap<K, V>, IMap<K, V>
Type Parameters
K
V
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Map<K, V>>Map<K, V>ConcurrentMap<K, V>CopyOnWriteMap<K, V>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionIConcurrentMap<K, V>IMap<K, V>
- Inherited Members
-
JVMBridgeBase<Map<K, V>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Map<K, V>>.IsAssignableFrom<T>()JVMBridgeBase<Map<K, V>>.Execute<T>(params T[])JVMBridgeBase<Map<K, V>>.DynBridgeClazzJVMBridgeBase<Map<K, V>>.BridgeClazzJVMBridgeBase.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.Execute<T>(params T[])JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
Constructors
CopyOnWriteMap()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public CopyOnWriteMap()
CopyOnWriteMap(Map<K, V>)
public CopyOnWriteMap(Map<K, V> arg0)
Parameters
CopyOnWriteMap(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 CopyOnWriteMap(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Clear()
public void Clear()
ContainsKey(object)
public bool ContainsKey(object arg0)
Parameters
Returns
ContainsValue(object)
public bool ContainsValue(object arg0)
Parameters
Returns
EntrySet()
public Set<Map.Entry<K, V>> EntrySet()
Returns
Get(object)
public V Get(object arg0)
Parameters
Returns
- V
V
IsEmpty()
public bool IsEmpty()
Returns
KeySet()
public Set<K> KeySet()
Returns
Put(K, V)
public V Put(K arg0, V arg1)
Parameters
arg0
KK
arg1
VV
Returns
- V
V
PutAll<Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV>)
public void PutAll<Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV> arg0) where Arg0ExtendsK : K where Arg0ExtendsV : V
Parameters
Type Parameters
Arg0ExtendsK
K
Arg0ExtendsV
V
PutIfAbsent(K, V)
public V PutIfAbsent(K arg0, V arg1)
Parameters
arg0
KK
arg1
VV
Returns
- V
V
Remove(object)
public V Remove(object arg0)
Parameters
Returns
- V
V
Remove(object, object)
public bool Remove(object arg0, object arg1)
Parameters
Returns
Replace(K, V)
public V Replace(K arg0, V arg1)
Parameters
arg0
KK
arg1
VV
Returns
- V
V
Replace(K, V, V)
public bool Replace(K arg0, V arg1, V arg2)
Parameters
arg0
KK
arg1
VV
arg2
VV
Returns
Size()
public int Size()
Returns
Values()
public Collection<V> Values()
Returns
Operators
implicit operator CopyOnWriteMap(CopyOnWriteMap<K, V>)
Converter from CopyOnWriteMap<K, V> to CopyOnWriteMap
public static implicit operator CopyOnWriteMap(CopyOnWriteMap<K, V> t)
Parameters
t
CopyOnWriteMap<K, V>