|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.util.LazyList<ElementType>
ElementType - type of elements within the list@NotThreadSafe public class LazyList<ElementType>
A list that is lazy initialized. This list takes very little memory when storing zero or one item.
| Constructor Summary | |
|---|---|
LazyList()
|
|
| Method Summary | ||
|---|---|---|
boolean |
add(ElementType item)
|
|
void |
add(int index,
ElementType element)
|
|
boolean |
addAll(Collection<? extends ElementType> collection)
|
|
boolean |
addAll(int index,
Collection<? extends ElementType> collection)
|
|
protected List<ElementType> |
buildList()
Builds an appropriate delegate for this list. |
|
void |
clear()
|
|
boolean |
contains(Object element)
|
|
boolean |
containsAll(Collection<?> collections)
|
|
boolean |
equals(Object obj)
|
|
ElementType |
get(int index)
|
|
int |
hashCode()
|
|
int |
indexOf(Object element)
|
|
boolean |
isEmpty()
|
|
Iterator<ElementType> |
iterator()
|
|
int |
lastIndexOf(Object element)
|
|
ListIterator<ElementType> |
listIterator()
|
|
ListIterator<ElementType> |
listIterator(int index)
|
|
ElementType |
remove(int index)
|
|
boolean |
remove(Object element)
|
|
boolean |
removeAll(Collection<?> collection)
|
|
boolean |
retainAll(Collection<?> collection)
|
|
ElementType |
set(int index,
ElementType element)
|
|
int |
size()
|
|
List<ElementType> |
subList(int fromIndex,
int toIndex)
|
|
Object[] |
toArray()
|
|
|
toArray(T[] type)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LazyList()
| Method Detail |
|---|
public boolean add(ElementType item)
add in interface Collection<ElementType>add in interface List<ElementType>
public void add(int index,
ElementType element)
add in interface List<ElementType>public boolean addAll(Collection<? extends ElementType> collection)
addAll in interface Collection<ElementType>addAll in interface List<ElementType>
public boolean addAll(int index,
Collection<? extends ElementType> collection)
addAll in interface List<ElementType>public void clear()
clear in interface Collection<ElementType>clear in interface List<ElementType>public boolean contains(Object element)
contains in interface Collection<ElementType>contains in interface List<ElementType>public boolean containsAll(Collection<?> collections)
containsAll in interface Collection<ElementType>containsAll in interface List<ElementType>public ElementType get(int index)
get in interface List<ElementType>public int indexOf(Object element)
indexOf in interface List<ElementType>public boolean isEmpty()
isEmpty in interface Collection<ElementType>isEmpty in interface List<ElementType>public Iterator<ElementType> iterator()
iterator in interface Iterable<ElementType>iterator in interface Collection<ElementType>iterator in interface List<ElementType>public int lastIndexOf(Object element)
lastIndexOf in interface List<ElementType>public ListIterator<ElementType> listIterator()
listIterator in interface List<ElementType>public ListIterator<ElementType> listIterator(int index)
listIterator in interface List<ElementType>public boolean remove(Object element)
remove in interface Collection<ElementType>remove in interface List<ElementType>public ElementType remove(int index)
remove in interface List<ElementType>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<ElementType>removeAll in interface List<ElementType>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<ElementType>retainAll in interface List<ElementType>
public ElementType set(int index,
ElementType element)
set in interface List<ElementType>public int size()
size in interface Collection<ElementType>size in interface List<ElementType>
public List<ElementType> subList(int fromIndex,
int toIndex)
subList in interface List<ElementType>public Object[] toArray()
toArray in interface Collection<ElementType>toArray in interface List<ElementType>public <T> T[] toArray(T[] type)
toArray in interface Collection<ElementType>toArray in interface List<ElementType>protected List<ElementType> buildList()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in interface Collection<ElementType>hashCode in interface List<ElementType>hashCode in class Objectpublic boolean equals(Object obj)
equals in interface Collection<ElementType>equals in interface List<ElementType>equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||