it.amattioli.dominate.lazy
Class LazyList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
it.amattioli.dominate.lazy.LazyList<T>
- All Implemented Interfaces:
- Lazy, Iterable<T>, Collection<T>, List<T>
public abstract class LazyList<T>
- extends AbstractList<T>
- implements Lazy
| Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
LazyList
public LazyList()
findTarget
protected abstract List<T> findTarget()
iterator
public Iterator<T> iterator()
- Specified by:
iterator in interface Iterable<T>- Specified by:
iterator in interface Collection<T>- Specified by:
iterator in interface List<T>- Overrides:
iterator in class AbstractList<T>
size
public int size()
- Specified by:
size in interface Collection<T>- Specified by:
size in interface List<T>- Specified by:
size in class AbstractCollection<T>
add
public boolean add(T e)
- Specified by:
add in interface Collection<T>- Specified by:
add in interface List<T>- Overrides:
add in class AbstractList<T>
get
public T get(int index)
- Specified by:
get in interface List<T>- Specified by:
get in class AbstractList<T>
wasLoaded
public boolean wasLoaded()
- Specified by:
wasLoaded in interface Lazy
Copyright © 2011. All Rights Reserved.