Table of Contents

Class CopyOnWriteArrayList<E>

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class CopyOnWriteArrayList<E> : JVMBridgeBase<CopyOnWriteArrayList<E>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

E
Inheritance
JVMBridgeBase
JVMBridgeBase<CopyOnWriteArrayList<E>>
CopyOnWriteArrayList<E>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<CopyOnWriteArrayList<E>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<CopyOnWriteArrayList<E>>.IsAssignableFrom<T>()
JVMBridgeBase<CopyOnWriteArrayList<E>>.Execute<T>(params T[])
JVMBridgeBase<CopyOnWriteArrayList<E>>.DynBridgeClazz
JVMBridgeBase<CopyOnWriteArrayList<E>>.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

CopyOnWriteArrayList()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public CopyOnWriteArrayList()

CopyOnWriteArrayList(Collection<E>)

public CopyOnWriteArrayList(Collection<E> arg0)

Parameters

arg0 Collection<E>

Collection

CopyOnWriteArrayList(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 CopyOnWriteArrayList(params object[] args)

Parameters

args object[]

CopyOnWriteArrayList(E[])

public CopyOnWriteArrayList(E[] arg0)

Parameters

arg0 E[]

E

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

Add(int, E)

public void Add(int arg0, E arg1)

Parameters

arg0 int

int

arg1 E

E

Add(E)

public bool Add(E arg0)

Parameters

arg0 E

E

Returns

bool

bool

AddAllAbsent<Arg0ExtendsE>(Collection<Arg0ExtendsE>)

public int AddAllAbsent<Arg0ExtendsE>(Collection<Arg0ExtendsE> arg0) where Arg0ExtendsE : E

Parameters

arg0 Collection<Arg0ExtendsE>

Collection

Returns

int

int

Type Parameters

Arg0ExtendsE

E

AddAll<Arg0ExtendsE>(Collection<Arg0ExtendsE>)

public bool AddAll<Arg0ExtendsE>(Collection<Arg0ExtendsE> arg0) where Arg0ExtendsE : E

Parameters

arg0 Collection<Arg0ExtendsE>

Collection

Returns

bool

bool

Type Parameters

Arg0ExtendsE

E

AddAll<Arg1ExtendsE>(int, Collection<Arg1ExtendsE>)

public bool AddAll<Arg1ExtendsE>(int arg0, Collection<Arg1ExtendsE> arg1) where Arg1ExtendsE : E

Parameters

arg0 int

int

arg1 Collection<Arg1ExtendsE>

Collection

Returns

bool

bool

Type Parameters

Arg1ExtendsE

E

AddIfAbsent(E)

public bool AddIfAbsent(E arg0)

Parameters

arg0 E

E

Returns

bool

bool

Clear()

public void Clear()

Contains(object)

public bool Contains(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

ContainsAll(Collection<object>)

public bool ContainsAll(Collection<object> arg0)

Parameters

arg0 Collection<object>

Collection

Returns

bool

bool

ForEach<Arg0objectSuperE>(Consumer<Arg0objectSuperE>)

public void ForEach<Arg0objectSuperE>(Consumer<Arg0objectSuperE> arg0) where Arg0objectSuperE : E

Parameters

arg0 Consumer<Arg0objectSuperE>

Consumer

Type Parameters

Arg0objectSuperE

E

Get(int)

public E Get(int arg0)

Parameters

arg0 int

int

Returns

E

E

IndexOf(object)

public int IndexOf(object arg0)

Parameters

arg0 object

object

Returns

int

int

IndexOf(E, int)

public int IndexOf(E arg0, int arg1)

Parameters

arg0 E

E

arg1 int

int

Returns

int

int

IsEmpty()

public bool IsEmpty()

Returns

bool

bool

Iterator()

public Iterator<E> Iterator()

Returns

Iterator<E>

Iterator

LastIndexOf(object)

public int LastIndexOf(object arg0)

Parameters

arg0 object

object

Returns

int

int

LastIndexOf(E, int)

public int LastIndexOf(E arg0, int arg1)

Parameters

arg0 E

E

arg1 int

int

Returns

int

int

ListIterator()

public ListIterator<E> ListIterator()

Returns

ListIterator<E>

ListIterator

ListIterator(int)

public ListIterator<E> ListIterator(int arg0)

Parameters

arg0 int

int

Returns

ListIterator<E>

ListIterator

Remove(int)

public E Remove(int arg0)

Parameters

arg0 int

int

Returns

E

E

Remove(object)

public bool Remove(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

RemoveAll(Collection<object>)

public bool RemoveAll(Collection<object> arg0)

Parameters

arg0 Collection<object>

Collection

Returns

bool

bool

RemoveIf<Arg0objectSuperE>(Predicate<Arg0objectSuperE>)

public bool RemoveIf<Arg0objectSuperE>(Predicate<Arg0objectSuperE> arg0) where Arg0objectSuperE : E

Parameters

arg0 Predicate<Arg0objectSuperE>

Predicate

Returns

bool

bool

Type Parameters

Arg0objectSuperE

E

ReplaceAll(UnaryOperator<E>)

public void ReplaceAll(UnaryOperator<E> arg0)

Parameters

arg0 UnaryOperator<E>

UnaryOperator

RetainAll(Collection<object>)

public bool RetainAll(Collection<object> arg0)

Parameters

arg0 Collection<object>

Collection

Returns

bool

bool

Set(int, E)

public E Set(int arg0, E arg1)

Parameters

arg0 int

int

arg1 E

E

Returns

E

E

Size()

public int Size()

Returns

int

int

Sort<Arg0objectSuperE>(Comparator<Arg0objectSuperE>)

public void Sort<Arg0objectSuperE>(Comparator<Arg0objectSuperE> arg0) where Arg0objectSuperE : E

Parameters

arg0 Comparator<Arg0objectSuperE>

Comparator

Type Parameters

Arg0objectSuperE

E

Spliterator()

public Spliterator<E> Spliterator()

Returns

Spliterator<E>

Spliterator

SubList(int, int)

public List<E> SubList(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

List<E>

List

ToArray()

public object[] ToArray()

Returns

object[]

object

ToArray<T>(T[])

public T[] ToArray<T>(T[] arg0)

Parameters

arg0 T[]

T

Returns

T[]

T

Type Parameters

T

Operators

implicit operator Serializable(CopyOnWriteArrayList<E>)

public static implicit operator Serializable(CopyOnWriteArrayList<E> t)

Parameters

t CopyOnWriteArrayList<E>

Returns

Serializable

implicit operator Cloneable(CopyOnWriteArrayList<E>)

public static implicit operator Cloneable(CopyOnWriteArrayList<E> t)

Parameters

t CopyOnWriteArrayList<E>

Returns

Cloneable

implicit operator CopyOnWriteArrayList(CopyOnWriteArrayList<E>)

public static implicit operator CopyOnWriteArrayList(CopyOnWriteArrayList<E> t)

Parameters

t CopyOnWriteArrayList<E>

Returns

CopyOnWriteArrayList

implicit operator List<E>(CopyOnWriteArrayList<E>)

Converter from CopyOnWriteArrayList<E> to List<E>

public static implicit operator List<E>(CopyOnWriteArrayList<E> t)

Parameters

t CopyOnWriteArrayList<E>

Returns

List<E>

implicit operator RandomAccess(CopyOnWriteArrayList<E>)

public static implicit operator RandomAccess(CopyOnWriteArrayList<E> t)

Parameters

t CopyOnWriteArrayList<E>

Returns

RandomAccess