Share via


JavaArray<T> Class

Definition

public abstract class JavaArray<T> : Java.Interop.JavaObject, System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T>, System.Collections.IList
type JavaArray<'T> = class
    inherit JavaObject
    interface IList
    interface ICollection
    interface IEnumerable
    interface IList<'T>
    interface ICollection<'T>
    interface seq<'T>

Type Parameters

T
Inheritance
JavaArray<T>
Derived
Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Properties

IsReadOnly
Item[Int32]
JniIdentityHashCode (Inherited from JavaObject)
JniManagedPeerState (Inherited from JavaObject)
JniPeerMembers (Inherited from JavaObject)
Length
PeerReference (Inherited from JavaObject)

Methods

Clear()
Construct(JniObjectReference, JniObjectReferenceOptions) (Inherited from JavaObject)
Contains(T)
CopyTo(T[], Int32)
Dispose() (Inherited from JavaObject)
Dispose(Boolean) (Inherited from JavaObject)
DisposeUnlessReferenced() (Inherited from JavaObject)
Equals(Object) (Inherited from JavaObject)
GetEnumerator()
GetHashCode() (Inherited from JavaObject)
IndexOf(T)
SetPeerReference(JniObjectReference, JniObjectReferenceOptions) (Inherited from JavaObject)
ToArray()
ToString() (Inherited from JavaObject)
UnregisterFromRuntime() (Inherited from JavaObject)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)
ICollection.Count
ICollection.IsSynchronized
ICollection.SyncRoot
ICollection<T>.Add(T)
ICollection<T>.Count
ICollection<T>.Remove(T)
IEnumerable.GetEnumerator()
IJavaPeerable.Disposed() (Inherited from JavaObject)
IJavaPeerable.Finalized() (Inherited from JavaObject)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from JavaObject)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from JavaObject)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from JavaObject)
IList.Add(Object)
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.Item[Int32]
IList.Remove(Object)
IList.RemoveAt(Int32)
IList<T>.Insert(Int32, T)
IList<T>.RemoveAt(Int32)

Extension Methods

ToInteroperableCollection<T>(ICollection<T>)
ToInteroperableCollection<T>(IList<T>)
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to