public class Array extends NetObjectEnumerable implements IStructuralComparable, IStructuralEquatable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Array
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.Array
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
Array() |
Array(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
BinarySearch(Array array,
int index,
int length,
NetObject value) |
static int |
BinarySearch(Array array,
int index,
int length,
NetObject value,
IComparer comparer) |
static int |
BinarySearch(Array array,
NetObject value) |
static int |
BinarySearch(Array array,
NetObject value,
IComparer comparer) |
static Array |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Array, a cast assert is made to check if types are compatible. |
static void |
Clear(Array array,
int index,
int length) |
NetObject |
Clone() |
static void |
ConstrainedCopy(Array sourceArray,
int sourceIndex,
Array destinationArray,
int destinationIndex,
int length) |
static void |
Copy(Array sourceArray,
Array destinationArray,
int length) |
static void |
Copy(Array sourceArray,
Array destinationArray,
long length) |
static void |
Copy(Array sourceArray,
int sourceIndex,
Array destinationArray,
int destinationIndex,
int length) |
static void |
Copy(Array sourceArray,
long sourceIndex,
Array destinationArray,
long destinationIndex,
long length) |
void |
CopyTo(Array array,
int index) |
void |
CopyTo(Array array,
long index) |
static Array |
CreateInstance(NetType elementType,
int... lengths) |
static Array |
CreateInstance(NetType elementType,
int length) |
static Array |
CreateInstance(NetType elementType,
int[] lengths,
int[] lowerBounds) |
static Array |
CreateInstance(NetType elementType,
int length1,
int length2) |
static Array |
CreateInstance(NetType elementType,
int length1,
int length2,
int length3) |
static Array |
CreateInstance(NetType dupParam0,
JCORefOut dupParam1) |
static Array |
CreateInstance(NetType dupParam0,
JCORefOut dupParam1,
JCORefOut dupParam2) |
static Array |
CreateInstance(NetType elementType,
long... lengths) |
boolean |
getIsFixedSize() |
boolean |
getIsReadOnly() |
boolean |
getIsSynchronized() |
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
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getLength() |
int |
GetLength(int dimension) |
long |
getLongLength() |
long |
GetLongLength(int dimension) |
int |
GetLowerBound(int dimension) |
int |
getRank() |
NetObject |
getSyncRoot() |
int |
GetUpperBound(int dimension) |
NetObject |
GetValue(int... indices) |
NetObject |
GetValue(int index) |
NetObject |
GetValue(int index1,
int index2) |
NetObject |
GetValue(int index1,
int index2,
int index3) |
NetObject |
GetValue(JCORefOut dupParam0) |
NetObject |
GetValue(long... indices) |
NetObject |
GetValue(long index) |
NetObject |
GetValue(long index1,
long index2) |
NetObject |
GetValue(long index1,
long index2,
long index3) |
static int |
IndexOf(Array array,
NetObject value) |
static int |
IndexOf(Array array,
NetObject value,
int startIndex) |
static int |
IndexOf(Array array,
NetObject value,
int startIndex,
int count) |
void |
Initialize() |
static int |
LastIndexOf(Array array,
NetObject value) |
static int |
LastIndexOf(Array array,
NetObject value,
int startIndex) |
static int |
LastIndexOf(Array array,
NetObject value,
int startIndex,
int count) |
static void |
Reverse(Array array) |
static void |
Reverse(Array array,
int index,
int length) |
void |
setJCOInstance(JCObject instance) |
void |
SetValue(NetObject value,
int... indices) |
void |
SetValue(NetObject value,
int index) |
void |
SetValue(NetObject value,
int index1,
int index2) |
void |
SetValue(NetObject value,
int index1,
int index2,
int index3) |
void |
SetValue(NetObject dupParam0,
JCORefOut dupParam1) |
void |
SetValue(NetObject value,
long... indices) |
void |
SetValue(NetObject value,
long index) |
void |
SetValue(NetObject value,
long index1,
long index2) |
void |
SetValue(NetObject value,
long index1,
long index2,
long index3) |
static void |
Sort(Array array) |
static void |
Sort(Array keys,
Array items) |
static void |
Sort(Array keys,
Array items,
IComparer comparer) |
static void |
Sort(Array keys,
Array items,
int index,
int length) |
static void |
Sort(Array keys,
Array items,
int index,
int length,
IComparer comparer) |
static void |
Sort(Array array,
IComparer comparer) |
static void |
Sort(Array array,
int index,
int length) |
static void |
Sort(Array array,
int index,
int length,
IComparer comparer) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringCompareTo, ToIStructuralComparableEquals, GetHashCode, ToIStructuralEquatableToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Array()
throws java.lang.Throwable
java.lang.Throwablepublic Array(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static int BinarySearch(Array array, int index, int length, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationExceptionpublic static int BinarySearch(Array array, int index, int length, NetObject value, IComparer comparer) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationExceptionpublic static int BinarySearch(Array array, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationExceptionpublic static int BinarySearch(Array array, NetObject value, IComparer comparer) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationExceptionpublic static Array cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Array, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedArray instancejava.lang.Throwable - in case of error during cast operationpublic static void Clear(Array array, int index, int length) throws java.lang.Throwable
java.lang.Throwablepublic NetObject Clone() throws java.lang.Throwable
java.lang.Throwablepublic static void ConstrainedCopy(Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length) throws java.lang.Throwable
java.lang.Throwablepublic static void Copy(Array sourceArray, Array destinationArray, int length) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static void Copy(Array sourceArray, Array destinationArray, long length) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic static void Copy(Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length) throws java.lang.Throwable
java.lang.Throwablepublic static void Copy(Array sourceArray, long sourceIndex, Array destinationArray, long destinationIndex, long length) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void CopyTo(Array array, int index) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic void CopyTo(Array array, long index) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static Array CreateInstance(NetType elementType, int... lengths) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
public static Array CreateInstance(NetType elementType, int length) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionpublic static Array CreateInstance(NetType elementType, int[] lengths, int[] lowerBounds) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
public static Array CreateInstance(NetType elementType, int length1, int length2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionpublic static Array CreateInstance(NetType elementType, int length1, int length2, int length3) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionpublic static Array CreateInstance(NetType dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
public static Array CreateInstance(NetType dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
public static Array CreateInstance(NetType elementType, long... lengths) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, IndexOutOfRangeException, NotSupportedException
public boolean getIsFixedSize()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSynchronized()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IStructuralComparablegetJCOAssemblyName in interface IStructuralEquatablegetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IStructuralComparablegetJCOClassName in interface IStructuralEquatablegetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IStructuralComparablegetJCOInstance in interface IStructuralEquatablegetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IStructuralComparablegetJCOObjectName in interface IStructuralEquatablegetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IStructuralComparablegetJCOType in interface IStructuralEquatablegetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic int getLength()
throws java.lang.Throwable
java.lang.Throwablepublic int GetLength(int dimension)
throws java.lang.Throwable
java.lang.Throwablepublic long getLongLength()
throws java.lang.Throwable
java.lang.Throwablepublic long GetLongLength(int dimension)
throws java.lang.Throwable
java.lang.Throwablepublic int GetLowerBound(int dimension)
throws java.lang.Throwable
java.lang.Throwablepublic int getRank()
throws java.lang.Throwable
java.lang.Throwablepublic NetObject getSyncRoot() throws java.lang.Throwable
java.lang.Throwablepublic int GetUpperBound(int dimension)
throws java.lang.Throwable
java.lang.Throwablepublic NetObject GetValue(int... indices) throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionpublic NetObject GetValue(int index) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic NetObject GetValue(int index1, int index2) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic NetObject GetValue(int index1, int index2, int index3) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic NetObject GetValue(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionpublic NetObject GetValue(long... indices) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic NetObject GetValue(long index) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic NetObject GetValue(long index1, long index2) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic NetObject GetValue(long index1, long index2, long index3) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static int IndexOf(Array array, NetObject value) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic static int IndexOf(Array array, NetObject value, int startIndex) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic static int IndexOf(Array array, NetObject value, int startIndex, int count) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic void Initialize()
throws java.lang.Throwable
java.lang.Throwablepublic static int LastIndexOf(Array array, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, RankException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionRankExceptionArgumentExceptionpublic static int LastIndexOf(Array array, NetObject value, int startIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, RankException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionRankExceptionArgumentExceptionpublic static int LastIndexOf(Array array, NetObject value, int startIndex, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, RankException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionRankExceptionArgumentExceptionpublic static void Reverse(Array array) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionpublic static void Reverse(Array array, int index, int length) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic void SetValue(NetObject value, int... indices) throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionpublic void SetValue(NetObject value, int index) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic void SetValue(NetObject value, int index1, int index2) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic void SetValue(NetObject value, int index1, int index2, int index3) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic void SetValue(NetObject dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionpublic void SetValue(NetObject value, long... indices) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic void SetValue(NetObject value, long index) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic void SetValue(NetObject value, long index1, long index2) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic void SetValue(NetObject value, long index1, long index2, long index3) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static void Sort(Array array) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic static void Sort(Array keys, Array items) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic static void Sort(Array keys, Array items, IComparer comparer) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic static void Sort(Array keys, Array items, int index, int length) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic static void Sort(Array keys, Array items, int index, int length, IComparer comparer) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic static void Sort(Array array, IComparer comparer) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic static void Sort(Array array, int index, int length) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic static void Sort(Array array, int index, int length, IComparer comparer) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationException