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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll(int index, Collection<? extends E> c)
boolean
addAll(Collection<? extends E> c)
void
clear()
boolean
boolean
containsAll(Collection<?> c)
boolean
get(int index)
int
hashCode()
protected abstract void
hydrate()
int
boolean
isEmpty()
iterator()
int
lastIndexOf(Object o)
listIterator(int index)
remove(int index)
boolean
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
int
size()
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, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceList<E>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
equals
-
hashCode
public int hashCode() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
subList
-
toString
-