public class LazyList
extends java.util.AbstractList<java.lang.Object>
implements java.util.List<java.lang.Object>
LazyMap
, the list elements are resolved only when required.Constructor and Description |
---|
LazyList() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object obj) |
void |
clear() |
java.lang.Object |
get(int index) |
java.util.Iterator<java.lang.Object> |
iterator() |
java.util.List<java.lang.Object> |
list() |
java.util.ListIterator<java.lang.Object> |
listIterator() |
java.lang.Object |
set(int index,
java.lang.Object element) |
int |
size() |
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, remove, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public java.lang.Object get(int index)
get
in interface java.util.List<java.lang.Object>
get
in class java.util.AbstractList<java.lang.Object>
public int size()
size
in interface java.util.Collection<java.lang.Object>
size
in interface java.util.List<java.lang.Object>
size
in class java.util.AbstractCollection<java.lang.Object>
public java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
iterator
in interface java.util.Collection<java.lang.Object>
iterator
in interface java.util.List<java.lang.Object>
iterator
in class java.util.AbstractList<java.lang.Object>
public void clear()
clear
in interface java.util.Collection<java.lang.Object>
clear
in interface java.util.List<java.lang.Object>
clear
in class java.util.AbstractList<java.lang.Object>
public boolean add(java.lang.Object obj)
add
in interface java.util.Collection<java.lang.Object>
add
in interface java.util.List<java.lang.Object>
add
in class java.util.AbstractList<java.lang.Object>
public java.lang.Object set(int index, java.lang.Object element)
set
in interface java.util.List<java.lang.Object>
set
in class java.util.AbstractList<java.lang.Object>
public java.util.ListIterator<java.lang.Object> listIterator()
listIterator
in interface java.util.List<java.lang.Object>
listIterator
in class java.util.AbstractList<java.lang.Object>
public java.util.List<java.lang.Object> list()
Copyright © 2003-present Jodd Team