Package org.javalite.activejdbc
Class AbstractLazyList<E>
java.lang.Object
org.javalite.activejdbc.AbstractLazyList<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>,RandomAccess
- Direct Known Subclasses:
LazyList
- Author:
- Eric Nielsen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c)booleanaddAll(Collection<? extends E> c)voidclear()booleanbooleancontainsAll(Collection<?> c)booleanget(int index)inthashCode()protected abstract voidhydrate()intbooleanisEmpty()iterator()intlastIndexOf(Object o)listIterator(int index)remove(int index)booleanbooleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)intsize()subList(int fromIndex, int toIndex)Object[]toArray()<T> T[]toArray(T[] a)toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Field Details
-
delegate
-
-
Constructor Details
-
AbstractLazyList
public AbstractLazyList()
-
-
Method Details
-
hydrate
protected abstract void hydrate() -
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
equals
-
hashCode
public int hashCode() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
subList
-
toString
-