Package com.adobe.fontengine
Class SparseArray
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList
-
- com.adobe.fontengine.SparseArray
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable
,java.util.Collection
,java.util.List
public final class SparseArray extends java.util.AbstractList implements java.io.Serializable
SparseArray- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SparseArray()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, java.lang.Object element)
boolean
equals(java.lang.Object obj)
java.lang.Object
get(int index)
int
hashCode()
java.lang.Object
remove(int index)
java.lang.Object
set(int index, java.lang.Object element)
int
size()
-
Methods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Method Detail
-
get
public java.lang.Object get(int index)
- Specified by:
get
in interfacejava.util.List
- Specified by:
get
in classjava.util.AbstractList
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection
- Specified by:
size
in interfacejava.util.List
- Specified by:
size
in classjava.util.AbstractCollection
-
add
public void add(int index, java.lang.Object element)
- Specified by:
add
in interfacejava.util.List
- Overrides:
add
in classjava.util.AbstractList
-
remove
public java.lang.Object remove(int index)
- Specified by:
remove
in interfacejava.util.List
- Overrides:
remove
in classjava.util.AbstractList
-
set
public java.lang.Object set(int index, java.lang.Object element)
- Specified by:
set
in interfacejava.util.List
- Overrides:
set
in classjava.util.AbstractList
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacejava.util.Collection
- Specified by:
equals
in interfacejava.util.List
- Overrides:
equals
in classjava.util.AbstractList
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Collection
- Specified by:
hashCode
in interfacejava.util.List
- Overrides:
hashCode
in classjava.util.AbstractList
-
-