|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
org.geotools.resources.UnmodifiableArrayList
An unmodifiable view of an array.
Field Summary |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
UnmodifiableArrayList(java.lang.Object[] array)
Create a new instance of an array list. |
Method Summary | |
boolean |
contains(java.lang.Object object)
Returns true if this collection contains the specified element.
|
java.lang.Object |
get(int index)
Returns the element at the specified index. |
int |
indexOf(java.lang.Object object)
Returns the index in this list of the first occurence of the specified element, or -1 if the list does not contain this element. |
int |
lastIndexOf(java.lang.Object object)
Returns the index in this list of the last occurence of the specified element, or -1 if the list does not contain this element. |
int |
size()
Returns the list size. |
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, iterator, listIterator, listIterator, remove, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Constructor Detail |
public UnmodifiableArrayList(java.lang.Object[] array)
Method Detail |
public int size()
size
in interface java.util.List
public java.lang.Object get(int index)
get
in interface java.util.List
public int indexOf(java.lang.Object object)
indexOf
in interface java.util.List
public int lastIndexOf(java.lang.Object object)
lastIndexOf
in interface java.util.List
public boolean contains(java.lang.Object object)
true
if this collection contains the specified element.
This method is overriden only for performance reason (the default implementation
would work as well).
contains
in interface java.util.List
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |