public class LimitList<E> extends ArrayList<E> implements Serializable
modCount
Constructor and Description |
---|
LimitList() |
LimitList(Collection<? extends E> c) |
LimitList(Collection<? extends E> c,
int limit) |
LimitList(int limit) |
LimitList(int initialCapacity,
int limit) |
Modifier and Type | Method and Description |
---|---|
static <E> LimitList<E> |
create() |
static <E> LimitList<E> |
create(Collection<? extends E> c) |
static <E> LimitList<E> |
create(Collection<? extends E> c,
int limit) |
static <E> LimitList<E> |
create(int limit) |
static <E> LimitList<E> |
create(int initialCapacity,
int limit) |
int |
getLimit() |
int |
getPages() |
int |
getTotal() |
LimitList<E> |
limit(int limit) |
List<E> |
page(int p) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public LimitList()
public LimitList(int limit)
public LimitList(int initialCapacity, int limit)
public LimitList(Collection<? extends E> c)
public LimitList(Collection<? extends E> c, int limit)
public static <E> LimitList<E> create()
public static <E> LimitList<E> create(int limit)
public static <E> LimitList<E> create(int initialCapacity, int limit)
public static <E> LimitList<E> create(Collection<? extends E> c)
public static <E> LimitList<E> create(Collection<? extends E> c, int limit)
public int getLimit()
public int getTotal()
public int getPages()
Copyright © 2024. All rights reserved.