Class Vector<E>
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
-
JVMBridgeBaseJVMBridgeBase<Iterable<E>>JVMBridgeBaseEnumerable<Iterable<E>>JVMBridgeBaseEnumerable<Iterable<E>, E>JNetAsyncEnumerable<Iterable<E>, E>Iterable<E>Collection<E>AbstractList<E>Vector<E>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionIEnumerableExtensionIEnumerable<E>IIterable<E>ICollection<E>
- Derived
- Inherited Members
-
JVMBridgeBaseEnumerable<Iterable<E>, E>.GetEnumerator()JVMBridgeBaseEnumerable<Iterable<E>>.GetEnumerator()JVMBridgeBase<Iterable<E>>.SExecuteWithSignatureArray<T>(IJavaType, string, string, params object[])JVMBridgeBase<Iterable<E>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Iterable<E>>.IsAssignableFrom<T>()JVMBridgeBase<Iterable<E>>.Execute<T>(params T[])JVMBridgeBase<Iterable<E>>.DynBridgeClazzJVMBridgeBase<Iterable<E>>.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.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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>
Vector(int)
public Vector(int arg0)
Parameters
Vector(int, int)
public Vector(int arg0, int arg1)
Parameters
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
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
AddElement(E)
public void AddElement(E arg0)
Parameters
arg0
EE
Capacity()
public int Capacity()
Returns
Clone()
Returns a clone of this vector.
public Vector<E> Clone()
Returns
- Vector<E>
CopyInto(object[])
public void CopyInto(object[] arg0)
Parameters
ElementAt(int)
public E ElementAt(int arg0)
Parameters
Returns
- E
E
Elements()
public Enumeration<E> Elements()
Returns
EnsureCapacity(int)
public void EnsureCapacity(int arg0)
Parameters
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
Returns
InsertElementAt(E, int)
public void InsertElementAt(E arg0, int arg1)
Parameters
LastElement()
public E LastElement()
Returns
- E
E
LastIndexOf(object, int)
public int LastIndexOf(object arg0, int arg1)
Parameters
Returns
RemoveAllElements()
public void RemoveAllElements()
RemoveElement(object)
public bool RemoveElement(object arg0)
Parameters
Returns
RemoveElementAt(int)
public void RemoveElementAt(int arg0)
Parameters
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
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
SetSize(int)
public void SetSize(int arg0)
Parameters
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
implicit operator Cloneable(Vector<E>)
public static implicit operator Cloneable(Vector<E> t)
Parameters
t
Vector<E>
Returns
implicit operator RandomAccess(Vector<E>)
Converter from Vector<E> to RandomAccess
public static implicit operator RandomAccess(Vector<E> t)
Parameters
t
Vector<E>
Returns
implicit operator Vector(Vector<E>)
public static implicit operator Vector(Vector<E> t)
Parameters
t
Vector<E>