T - public class ChunkArrayList<T> extends AbstractList<T> implements Chunk<T>, Facets
| Modifier and Type | Field and Description |
|---|---|
protected Class<T> |
elementType |
protected FacetResult |
facetResult |
protected long |
fetch |
protected long |
first |
protected long |
next |
protected ArrayList<T> |
result |
protected long |
total |
modCount| Constructor and Description |
|---|
ChunkArrayList() |
ChunkArrayList(long fetch,
long first,
long next,
long total) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T t) |
T |
get(int index) |
Class<T> |
getElementType() |
FacetResult |
getFacets() |
long |
getFetch() |
long |
getFirst() |
long |
getNext() |
List<T> |
getResult() |
long |
getTotal() |
T |
remove(int index) |
T |
set(int index,
T element) |
Chunk<T> |
setElementType(Class<T> elementType) |
void |
setFacets(FacetResult facetResult) |
Chunk<T> |
setFetch(long fetch) |
Chunk<T> |
setFirst(long first) |
Chunk<T> |
setNext(long next) |
Chunk<T> |
setTotal(long total) |
int |
size() |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayprotected long fetch
protected long first
protected long next
protected long total
protected FacetResult facetResult
public ChunkArrayList()
public ChunkArrayList(long fetch,
long first,
long next,
long total)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>public T get(int index)
public boolean add(T t)
add in interface Collection<T>add in interface List<T>add in class AbstractList<T>public T remove(int index)
public Class<T> getElementType()
getElementType in interface Chunk<T>public Chunk<T> setElementType(Class<T> elementType)
setElementType in interface Chunk<T>public FacetResult getFacets()
public void setFacets(FacetResult facetResult)
Copyright © 2017–2020 CodeLutin. All rights reserved.