Table of Contents

Class Vector<E>

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

Type Parameters

E
Inheritance
JVMBridgeBase
JVMBridgeBase<Iterable<E>>
JVMBridgeBaseEnumerable<Iterable<E>>
JVMBridgeBaseEnumerable<Iterable<E>, E>
Vector<E>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
IEnumerableExtension
Derived
Inherited Members
JVMBridgeBaseEnumerable<Iterable<E>, E>.GetEnumerator()
JVMBridgeBaseEnumerable<Iterable<E>>.GetEnumerator()
JVMBridgeBase<Iterable<E>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Iterable<E>>.IsAssignableFrom<T>()
JVMBridgeBase<Iterable<E>>.Execute<T>(params T[])
JVMBridgeBase<Iterable<E>>.DynBridgeClazz
JVMBridgeBase<Iterable<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

Vector()

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

public Vector()

Vector(Collection<E>)

public Vector(Collection<E> arg0)

Parameters

arg0 Collection<E>

Collection

Vector(int)

public Vector(int arg0)

Parameters

arg0 int

int

Vector(int, int)

public Vector(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Vector(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 Vector(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

AddElement(E)

public void AddElement(E arg0)

Parameters

arg0 E

E

Capacity()

public int Capacity()

Returns

int

int

Clone()

Returns a clone of this vector.

public Vector<E> Clone()

Returns

Vector<E>

CopyInto(object[])

public void CopyInto(object[] arg0)

Parameters

arg0 object[]

object

ElementAt(int)

public E ElementAt(int arg0)

Parameters

arg0 int

int

Returns

E

E

Elements()

public Enumeration<E> Elements()

Returns

Enumeration<E>

Enumeration

EnsureCapacity(int)

public void EnsureCapacity(int arg0)

Parameters

arg0 int

int

FirstElement()

public E FirstElement()

Returns

E

E

ForEach<T>(Consumer<T>)

Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception.

public void ForEach<T>(Consumer<T> action) where T : E

Parameters

action Consumer<T>

Type Parameters

T

IndexOf(object, int)

public int IndexOf(object arg0, int arg1)

Parameters

arg0 object

object

arg1 int

int

Returns

int

int

InsertElementAt(E, int)

public void InsertElementAt(E arg0, int arg1)

Parameters

arg0 E

E

arg1 int

int

LastElement()

public E LastElement()

Returns

E

E

LastIndexOf(object, int)

public int LastIndexOf(object arg0, int arg1)

Parameters

arg0 object

object

arg1 int

int

Returns

int

int

RemoveAllElements()

public void RemoveAllElements()

RemoveElement(object)

public bool RemoveElement(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

RemoveElementAt(int)

public void RemoveElementAt(int arg0)

Parameters

arg0 int

int

RemoveIf<T>(Predicate<T>)

Removes all of the elements of this collection that satisfy the given predicate.

public bool RemoveIf<T>(Predicate<T> filter) where T : E

Parameters

filter Predicate<T>

Returns

bool

Type Parameters

T

ReplaceAll(UnaryOperator<E>)

Replaces each element of this list with the result of applying the operator to that element.

public void ReplaceAll(UnaryOperator<E> op)

Parameters

op UnaryOperator<E>

SetElementAt(E, int)

public void SetElementAt(E arg0, int arg1)

Parameters

arg0 E

E

arg1 int

int

SetSize(int)

public void SetSize(int arg0)

Parameters

arg0 int

int

Sort<T>(Comparator<T>)

Sorts this list according to the order induced by the specified Comparator.

public void Sort<T>(Comparator<T> c) where T : E

Parameters

c Comparator<T>

Type Parameters

T

Spliterator()

Creates a late-binding and fail-fast Spliterator over the elements in this list.

public Spliterator<E> Spliterator()

Returns

Spliterator<E>

TrimToSize()

public void TrimToSize()

Operators

implicit operator Serializable(Vector<E>)

Converter from Vector<E> to Serializable

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

Parameters

t Vector<E>

Returns

Serializable

implicit operator Cloneable(Vector<E>)

Converter from Vector<E> to Cloneable

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

Parameters

t Vector<E>

Returns

Cloneable

implicit operator RandomAccess(Vector<E>)

Converter from Vector<E> to RandomAccess

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

Parameters

t Vector<E>

Returns

RandomAccess

implicit operator Vector(Vector<E>)

Converter from Vector<E> to Vector

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

Parameters

t Vector<E>

Returns

Vector