public class List_1<T extends IJCOBridgeReflected> extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.List`1
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Collections.Generic.List`1
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
List_1() |
List_1(IEnumerable_1 collection) |
List_1(int capacity) |
List_1(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(T item) |
void |
AddRange(IEnumerable_1 collection) |
ReadOnlyCollection_1 |
AsReadOnly() |
int |
BinarySearch(int index,
int count,
T item,
IComparer_1 comparer) |
int |
BinarySearch(T item) |
int |
BinarySearch(T item,
IComparer_1 comparer) |
static List_1 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into List_1, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
Contains(T item) |
<TOutput extends IJCOBridgeReflected> |
ConvertAll(Converter_2 converter) |
void |
CopyTo(int index,
T[] array,
int arrayIndex,
int count) |
void |
CopyTo(T[] array) |
void |
CopyTo(T[] array,
int arrayIndex) |
boolean |
Exists(Predicate_1 match) |
T |
Find(Predicate_1 match) |
List_1 |
FindAll(Predicate_1 match) |
int |
FindIndex(int startIndex,
int count,
Predicate_1 match) |
int |
FindIndex(int startIndex,
Predicate_1 match) |
int |
FindIndex(Predicate_1 match) |
T |
FindLast(Predicate_1 match) |
int |
FindLastIndex(int startIndex,
int count,
Predicate_1 match) |
int |
FindLastIndex(int startIndex,
Predicate_1 match) |
int |
FindLastIndex(Predicate_1 match) |
void |
ForEach(Action_1 action) |
int |
getCapacity() |
int |
getCount() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
List_1 |
GetRange(int index,
int count) |
int |
IndexOf(T item) |
int |
IndexOf(T item,
int index) |
int |
IndexOf(T item,
int index,
int count) |
void |
Insert(int index,
T item) |
void |
InsertRange(int index,
IEnumerable_1 collection) |
int |
LastIndexOf(T item) |
int |
LastIndexOf(T item,
int index) |
int |
LastIndexOf(T item,
int index,
int count) |
boolean |
Remove(T item) |
int |
RemoveAll(Predicate_1 match) |
void |
RemoveAt(int index) |
void |
RemoveRange(int index,
int count) |
void |
Reverse() |
void |
Reverse(int index,
int count) |
void |
setCapacity(int Capacity) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
Sort() |
void |
Sort(Comparison_1 comparison) |
void |
Sort(IComparer_1 comparer) |
void |
Sort(int index,
int count,
IComparer_1 comparer) |
T[] |
ToArray() |
void |
TrimExcess() |
boolean |
TrueForAll(Predicate_1 match) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic List_1()
throws java.lang.Throwable
java.lang.Throwablepublic List_1(IEnumerable_1 collection) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic List_1(int capacity)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic List_1(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(T item) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void AddRange(IEnumerable_1 collection) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic ReadOnlyCollection_1 AsReadOnly() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic int BinarySearch(int index,
int count,
T item,
IComparer_1 comparer)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionpublic int BinarySearch(T item) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionpublic int BinarySearch(T item, IComparer_1 comparer) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionpublic static List_1 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into List_1, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedList_1 instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable
java.lang.Throwablepublic boolean Contains(T item) throws java.lang.Throwable
java.lang.Throwablepublic <TOutput extends IJCOBridgeReflected> List_1 ConvertAll(Converter_2 converter) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic void CopyTo(int index,
T[] array,
int arrayIndex,
int count)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void CopyTo(T[] array) throws java.lang.Throwable
java.lang.Throwablepublic void CopyTo(T[] array, int arrayIndex) throws java.lang.Throwable
java.lang.Throwablepublic boolean Exists(Predicate_1 match) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic T Find(Predicate_1 match) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic List_1 FindAll(Predicate_1 match) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic int FindIndex(int startIndex,
int count,
Predicate_1 match)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic int FindIndex(int startIndex,
Predicate_1 match)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic int FindIndex(Predicate_1 match) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic T FindLast(Predicate_1 match) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic int FindLastIndex(int startIndex,
int count,
Predicate_1 match)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic int FindLastIndex(int startIndex,
Predicate_1 match)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic int FindLastIndex(Predicate_1 match) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic void ForEach(Action_1 action) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionpublic int getCapacity()
throws java.lang.Throwable
java.lang.Throwablepublic int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic List_1 GetRange(int index, int count) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic int IndexOf(T item) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic int IndexOf(T item, int index) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic int IndexOf(T item, int index, int count) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic void Insert(int index,
T item)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void InsertRange(int index,
IEnumerable_1 collection)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic int LastIndexOf(T item) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic int LastIndexOf(T item, int index) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic int LastIndexOf(T item, int index, int count) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic boolean Remove(T item) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic int RemoveAll(Predicate_1 match) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void RemoveRange(int index,
int count)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic void Reverse()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
RankException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionRankExceptionpublic void Reverse(int index,
int count)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
RankException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionRankExceptionpublic void setCapacity(int Capacity)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic void Sort()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionpublic void Sort(Comparison_1 comparison) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionNotSupportedExceptionpublic void Sort(IComparer_1 comparer) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionpublic void Sort(int index,
int count,
IComparer_1 comparer)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionpublic T[] ToArray() throws java.lang.Throwable
java.lang.Throwablepublic void TrimExcess()
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic boolean TrueForAll(Predicate_1 match) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullException