Table of Contents

Class ArrayList<E>

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class ArrayList<E> : AbstractList<E>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<E>, IEnumerable, IAsyncEnumerable<E>, IIterable<E>, ICollection<E>

Type Parameters

E
Inheritance
ArrayList<E>
Implements
Derived
Inherited Members
Extension Methods

Constructors

ArrayList()

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

public ArrayList()

ArrayList(Collection<E>)

public ArrayList(Collection<E> arg0)

Parameters

arg0 Collection<E>

Collection

ArrayList(int)

public ArrayList(int arg0)

Parameters

arg0 int

int

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

EnsureCapacity(int)

public void EnsureCapacity(int arg0)

Parameters

arg0 int

int

TrimToSize()

public void TrimToSize()

Operators

implicit operator Serializable(ArrayList<E>)

Converter from ArrayList<E> to Serializable

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

Parameters

t ArrayList<E>

Returns

Serializable

implicit operator Cloneable(ArrayList<E>)

Converter from ArrayList<E> to Cloneable

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

Parameters

t ArrayList<E>

Returns

Cloneable

implicit operator ArrayList(ArrayList<E>)

Converter from ArrayList<E> to ArrayList

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

Parameters

t ArrayList<E>

Returns

ArrayList

implicit operator RandomAccess(ArrayList<E>)

Converter from ArrayList<E> to RandomAccess

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

Parameters

t ArrayList<E>

Returns

RandomAccess