Android.Util.LongSparseArray: Method Members

The methods of Android.Util.LongSparseArray are listed below. For a list of all members, see the LongSparseArray Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

Append(long, Java.Lang.Object)
Documentation for this section has not yet been entered.
Clear()
Removes all key-value mappings from this LongSparseArray.
Clone() : LongSparseArray
Creates and returns a copy of this Object.
Delete(long)
Removes the mapping from the specified key, if there was any.
Get(long) : Java.Lang.Object
Gets the Object mapped from the specified key, or null if no such mapping has been made.
Get(long, Java.Lang.Object) : Java.Lang.Object
Documentation for this section has not yet been entered.
IndexOfKey(long) : int
Returns the index for which LongSparseArray.KeyAt(int) would return the specified key, or a negative number if the specified key is not mapped.
IndexOfValue(Java.Lang.Object) : int
Documentation for this section has not yet been entered.
KeyAt(int) : long
Given an index in the range 0...size()-1, returns the key from the indexth key-value mapping that this LongSparseArray stores.
Put(long, Java.Lang.Object)
Documentation for this section has not yet been entered.
Remove(long)
Alias for LongSparseArray.Delete(long).
RemoveAt(int)
Removes the mapping at the specified index.
SetValueAt(int, Java.Lang.Object)
Documentation for this section has not yet been entered.
Size() : int
Returns the number of key-value mappings that this LongSparseArray currently stores.
ValueAt(int) : Java.Lang.Object
Given an index in the range 0...size()-1, returns the value from the indexth key-value mapping that this LongSparseArray stores.