Class AbstractList<E>
public class AbstractList<E> : AbstractCollection<E>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<E>, IEnumerable, IAsyncEnumerable<E>, IIterable<E>, ICollection<E>
Type Parameters
E
- Inheritance
-
JVMBridgeBaseEnumerable<Iterable<E>, E>JNetAsyncEnumerable<Iterable<E>, E>Iterable<E>Collection<E>AbstractList<E>
- Implements
-
IEnumerable<E>IIterable<E>ICollection<E>
- Derived
- Inherited Members
-
JVMBridgeBase<Iterable<E>>.SExecuteWithSignatureArray<T>(IJavaType, string, string, params object[])JVMBridgeBase.ReferenceEqualsJVM(JVMBridgeBase, JVMBridgeBase)JVMBridgeBase.Equals(IJVMBridgeBase)
- Extension Methods
Constructors
AbstractList()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("AbstractList class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractList()
AbstractList(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
[Obsolete("AbstractList class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractList(params object[] args)
Parameters
argsobject[]
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
AddAll<Arg1ExtendsE>(int, Collection<Arg1ExtendsE>)
public bool AddAll<Arg1ExtendsE>(int arg0, Collection<Arg1ExtendsE> arg1) where Arg1ExtendsE : E
Parameters
arg0intarg1Collection<Arg1ExtendsE>
Returns
Type Parameters
Arg1ExtendsEE
Get(int)
public E Get(int arg0)
Parameters
Returns
- E
E
IndexOf(Object)
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.
public int IndexOf(Object o)
Parameters
oObject
Returns
IndexOf(object)
public int IndexOf(object arg0)
Parameters
Returns
LastIndexOf(Object)
Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
public int LastIndexOf(Object o)
Parameters
oObject
Returns
LastIndexOf(object)
public int LastIndexOf(object arg0)
Parameters
Returns
ListIterator()
public ListIterator<E> ListIterator()
Returns
ListIterator(int)
public ListIterator<E> ListIterator(int arg0)
Parameters
Returns
Remove(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/AbstractList.html#remove(int)
public E Remove(int arg0)
Parameters
Returns
- E
E
Set(int, E)
public E Set(int arg0, E arg1)
Parameters
Returns
- E
E
SubList(int, int)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
public List<E> SubList(int fromIndex, int toIndex)
Parameters
Returns
- List<E>
SubListMethod(int, int)
public List<E> SubListMethod(int arg0, int arg1)
Parameters
Returns
Operators
implicit operator AbstractList(AbstractList<E>)
Converter from AbstractList<E> to AbstractList
public static implicit operator AbstractList(AbstractList<E> t)
Parameters
tAbstractList<E>
Returns
implicit operator List<E>(AbstractList<E>)
Converter from AbstractList<E> to List<E>
public static implicit operator List<E>(AbstractList<E> t)
Parameters
tAbstractList<E>
Returns
- List<E>