Class ArraySet<E>
public class ArraySet<E> : JVMBridgeBase<ArraySet<E>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISet<E>, ICollection<E>
Type Parameters
E
- Inheritance
-
ArraySet<E>
- Implements
-
ISet<E>ICollection<E>
- Extension Methods
Constructors
ArraySet()
public ArraySet()
ArraySet(ArraySet<E>)
https://developer.android.com/reference/android/util/ArraySet.html#%3Cinit%3E(android.util.ArraySet)
public ArraySet(ArraySet<E> arg0)
Parameters
ArraySet(Collection<E>)
public ArraySet(Collection<E> arg0)
Parameters
arg0Collection<E>
ArraySet(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ArraySet(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
ArraySet(int)
public ArraySet(int arg0)
Parameters
ArraySet(E[])
public ArraySet(E[] arg0)
Parameters
arg0E[]E
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 java.lang.AutoCloseable
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(E)
public bool Add(E arg0)
Parameters
arg0EE
Returns
AddAll<Arg0ExtendsE>(ArraySet<Arg0ExtendsE>)
public void AddAll<Arg0ExtendsE>(ArraySet<Arg0ExtendsE> arg0) where Arg0ExtendsE : E
Parameters
Type Parameters
Arg0ExtendsEE
AddAll<Arg0ExtendsE>(Collection<Arg0ExtendsE>)
public bool AddAll<Arg0ExtendsE>(Collection<Arg0ExtendsE> arg0) where Arg0ExtendsE : E
Parameters
arg0Collection<Arg0ExtendsE>
Returns
Type Parameters
Arg0ExtendsEE
Clear()
public void Clear()
Contains(object)
public bool Contains(object arg0)
Parameters
Returns
ContainsAll(Collection<object>)
https://developer.android.com/reference/android/util/ArraySet.html#containsAll(java.util.Collection)
public bool ContainsAll(Collection<object> arg0)
Parameters
arg0Collection<object>
Returns
CreatePoolableInstance()
HPA initializer for ArraySet()
public static ArraySet<E> CreatePoolableInstance()
Returns
- ArraySet<E>
CreatePoolableInstance(ArraySet<E>)
HPA initializer for ArraySet(Android.Util.ArraySet%3CE%3E arg0)
public static ArraySet<E> CreatePoolableInstance(ArraySet<E> arg0)
Parameters
arg0ArraySet<E>
Returns
- ArraySet<E>
CreatePoolableInstance(Collection<E>)
HPA initializer for ArraySet(Java.Util.Collection%3CE%3E arg0)
public static ArraySet<E> CreatePoolableInstance(Collection<E> arg0)
Parameters
arg0Collection<E>
Returns
- ArraySet<E>
CreatePoolableInstance(int)
HPA initializer for ArraySet(int arg0)
public static ArraySet<E> CreatePoolableInstance(int arg0)
Parameters
arg0int
Returns
- ArraySet<E>
CreatePoolableInstance(E[])
HPA initializer for ArraySet(E[] arg0)
public static ArraySet<E> CreatePoolableInstance(E[] arg0)
Parameters
arg0E[]
Returns
- ArraySet<E>
EnsureCapacity(int)
public void EnsureCapacity(int arg0)
Parameters
ForEach<Arg0objectSuperE>(Consumer<Arg0objectSuperE>)
public void ForEach<Arg0objectSuperE>(Consumer<Arg0objectSuperE> arg0) where Arg0objectSuperE : E
Parameters
Type Parameters
Arg0objectSuperEE
IndexOf(object)
public int IndexOf(object arg0)
Parameters
Returns
IsEmpty()
public bool IsEmpty()
Returns
Iterator()
public Iterator<E> Iterator()
Returns
Remove(object)
public bool Remove(object arg0)
Parameters
Returns
RemoveAll(Collection<object>)
public bool RemoveAll(Collection<object> arg0)
Parameters
arg0Collection<object>
Returns
RemoveAll<Arg0ExtendsE>(ArraySet<Arg0ExtendsE>)
public bool RemoveAll<Arg0ExtendsE>(ArraySet<Arg0ExtendsE> arg0) where Arg0ExtendsE : E
Parameters
Returns
Type Parameters
Arg0ExtendsEE
RemoveAt(int)
public E RemoveAt(int arg0)
Parameters
Returns
- E
E
RemoveIf<Arg0objectSuperE>(Predicate<Arg0objectSuperE>)
public bool RemoveIf<Arg0objectSuperE>(Predicate<Arg0objectSuperE> arg0) where Arg0objectSuperE : E
Parameters
Returns
Type Parameters
Arg0objectSuperEE
RetainAll(Collection<object>)
public bool RetainAll(Collection<object> arg0)
Parameters
arg0Collection<object>
Returns
Size()
public int Size()
Returns
ToArray()
public object[] ToArray()
Returns
ToArray<T>(T[])
public T[] ToArray<T>(T[] arg0)
Parameters
arg0T[]T
Returns
- T[]
T
Type Parameters
T
ValueAt(int)
public E ValueAt(int arg0)
Parameters
Returns
- E
E
Operators
implicit operator ArraySet(ArraySet<E>)
Converter from ArraySet<E> to ArraySet
public static implicit operator ArraySet(ArraySet<E> t)
Parameters
tArraySet<E>
Returns
implicit operator Collection<E>(ArraySet<E>)
Converter from ArraySet<E> to Collection<E>
public static implicit operator Collection<E>(ArraySet<E> t)
Parameters
tArraySet<E>
Returns
- Collection<E>
implicit operator Set<E>(ArraySet<E>)
Converter from ArraySet<E> to Set<E>
public static implicit operator Set<E>(ArraySet<E> t)
Parameters
tArraySet<E>
Returns
- Set<E>