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
-
CopyOnWriteArrayList<E>
- Implements
- Inherited Members
- 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>
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
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
Add(int, E)
public void Add(int arg0, E arg1)
Parameters
Add(E)
public bool Add(E arg0)
Parameters
arg0
EE
Returns
AddAllAbsent<Arg0ExtendsE>(Collection<Arg0ExtendsE>)
public int AddAllAbsent<Arg0ExtendsE>(Collection<Arg0ExtendsE> arg0) where Arg0ExtendsE : E
Parameters
arg0
Collection<Arg0ExtendsE>
Returns
Type Parameters
Arg0ExtendsE
E
AddAll<Arg0ExtendsE>(Collection<Arg0ExtendsE>)
public bool AddAll<Arg0ExtendsE>(Collection<Arg0ExtendsE> arg0) where Arg0ExtendsE : E
Parameters
arg0
Collection<Arg0ExtendsE>
Returns
Type Parameters
Arg0ExtendsE
E
AddAll<Arg1ExtendsE>(int, Collection<Arg1ExtendsE>)
public bool AddAll<Arg1ExtendsE>(int arg0, Collection<Arg1ExtendsE> arg1) where Arg1ExtendsE : E
Parameters
arg0
intarg1
Collection<Arg1ExtendsE>
Returns
Type Parameters
Arg1ExtendsE
E
AddIfAbsent(E)
public bool AddIfAbsent(E arg0)
Parameters
arg0
EE
Returns
Clear()
public void Clear()
Contains(object)
public bool Contains(object arg0)
Parameters
Returns
ContainsAll(Collection<object>)
public bool ContainsAll(Collection<object> arg0)
Parameters
arg0
Collection<object>
Returns
ForEach<Arg0objectSuperE>(Consumer<Arg0objectSuperE>)
public void ForEach<Arg0objectSuperE>(Consumer<Arg0objectSuperE> arg0) where Arg0objectSuperE : E
Parameters
Type Parameters
Arg0objectSuperE
E
Get(int)
public E Get(int arg0)
Parameters
Returns
- E
E
IndexOf(object)
public int IndexOf(object arg0)
Parameters
Returns
IndexOf(E, int)
public int IndexOf(E arg0, int arg1)
Parameters
Returns
IsEmpty()
public bool IsEmpty()
Returns
Iterator()
public Iterator<E> Iterator()
Returns
LastIndexOf(object)
public int LastIndexOf(object arg0)
Parameters
Returns
LastIndexOf(E, int)
public int LastIndexOf(E arg0, int arg1)
Parameters
Returns
ListIterator()
public ListIterator<E> ListIterator()
Returns
ListIterator(int)
public ListIterator<E> ListIterator(int arg0)
Parameters
Returns
Remove(int)
public E Remove(int arg0)
Parameters
Returns
- E
E
Remove(object)
public bool Remove(object arg0)
Parameters
Returns
RemoveAll(Collection<object>)
public bool RemoveAll(Collection<object> arg0)
Parameters
arg0
Collection<object>
Returns
RemoveIf<Arg0objectSuperE>(Predicate<Arg0objectSuperE>)
public bool RemoveIf<Arg0objectSuperE>(Predicate<Arg0objectSuperE> arg0) where Arg0objectSuperE : E
Parameters
Returns
Type Parameters
Arg0objectSuperE
E
ReplaceAll(UnaryOperator<E>)
public void ReplaceAll(UnaryOperator<E> arg0)
Parameters
arg0
UnaryOperator<E>
RetainAll(Collection<object>)
public bool RetainAll(Collection<object> arg0)
Parameters
arg0
Collection<object>
Returns
Set(int, E)
public E Set(int arg0, E arg1)
Parameters
Returns
- E
E
Size()
public int Size()
Returns
Sort<Arg0objectSuperE>(Comparator<Arg0objectSuperE>)
public void Sort<Arg0objectSuperE>(Comparator<Arg0objectSuperE> arg0) where Arg0objectSuperE : E
Parameters
arg0
Comparator<Arg0objectSuperE>
Type Parameters
Arg0objectSuperE
E
Spliterator()
public Spliterator<E> Spliterator()
Returns
SubList(int, int)
public List<E> SubList(int arg0, int arg1)
Parameters
Returns
ToArray()
public object[] ToArray()
Returns
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>)
Converter from CopyOnWriteArrayList<E> to Serializable
public static implicit operator Serializable(CopyOnWriteArrayList<E> t)
Parameters
t
CopyOnWriteArrayList<E>
Returns
implicit operator Cloneable(CopyOnWriteArrayList<E>)
Converter from CopyOnWriteArrayList<E> to Cloneable
public static implicit operator Cloneable(CopyOnWriteArrayList<E> t)
Parameters
t
CopyOnWriteArrayList<E>
Returns
implicit operator CopyOnWriteArrayList(CopyOnWriteArrayList<E>)
Converter from CopyOnWriteArrayList<E> to CopyOnWriteArrayList
public static implicit operator CopyOnWriteArrayList(CopyOnWriteArrayList<E> t)
Parameters
t
CopyOnWriteArrayList<E>
Returns
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>)
Converter from CopyOnWriteArrayList<E> to RandomAccess
public static implicit operator RandomAccess(CopyOnWriteArrayList<E> t)
Parameters
t
CopyOnWriteArrayList<E>