public class HugeArrayList<T> extends Object implements HugeList<T>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static float |
DEFAULT_CLEAR_FACTOR_ELEMENT |
static float |
DEFAULT_FRAGMENT_FACTOR_ELEMENT |
static int |
DEFAULT_MAX_CAPACITY_ELEMENT |
| Constructor and Description |
|---|
HugeArrayList() |
HugeArrayList(String id,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swap,
int quantityClearThread) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
void |
destroy() |
protected void |
finalize() |
void |
flush() |
T |
get(int index) |
String |
getUniqueId() |
int |
indexOf(Object o) |
boolean |
isDeleteOnExit() |
boolean |
isEmpty() |
boolean |
isForceSwap() |
boolean |
isReadOnly() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(ArrayCollectionReference<?> c) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
void |
setDeleteOnExit(boolean deleteOnExit) |
void |
setForceSwap(boolean forceSwap) |
void |
setReadOnly(boolean value) |
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<K> K[] |
toArray(K[] a) |
public static final int DEFAULT_MAX_CAPACITY_ELEMENT
public static final float DEFAULT_CLEAR_FACTOR_ELEMENT
public static final float DEFAULT_FRAGMENT_FACTOR_ELEMENT
public boolean isForceSwap()
public void setForceSwap(boolean forceSwap)
public int size()
size in interface Collection<T>size in interface List<T>size in interface HugeCollection<T>public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <K> K[] toArray(K[] a)
public T get(int index)
public boolean add(T e)
public T remove(int index)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T>containsAll in interface List<T>public boolean addAll(Collection<? extends T> c)
public boolean addAll(int index,
Collection<? extends T> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(ArrayCollectionReference<?> c)
public void clear()
public void destroy()
public boolean retainAll(Collection<?> c)
public int lastIndexOf(Object o)
lastIndexOf in interface List<T>public ListIterator<T> listIterator()
listIterator in interface List<T>public ListIterator<T> listIterator(int index)
listIterator in interface List<T>public void setReadOnly(boolean value)
setReadOnly in interface HugeList<T>public boolean isReadOnly()
isReadOnly in interface HugeList<T>public String getUniqueId()
public boolean isDeleteOnExit()
public void setDeleteOnExit(boolean deleteOnExit)
Copyright © 2016. All rights reserved.