public final class SparseArray extends AbstractList implements Serializable
| Constructor and Description |
|---|
SparseArray() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
equals(Object obj) |
Object |
get(int index) |
int |
hashCode() |
Object |
remove(int index) |
Object |
set(int index,
Object element) |
int |
size() |
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic Object get(int index)
get in interface Listget in class AbstractListpublic int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic void add(int index,
Object element)
add in interface Listadd in class AbstractListpublic Object remove(int index)
remove in interface Listremove in class AbstractListpublic Object set(int index, Object element)
set in interface Listset in class AbstractListpublic boolean equals(Object obj)
equals in interface Collectionequals in interface Listequals in class AbstractListpublic int hashCode()
hashCode in interface CollectionhashCode in interface ListhashCode in class AbstractListCopyright © 2010 - 2020 Adobe. All Rights Reserved