public class HugeArrayReferenceList<T> extends Object implements HugeReferenceList<T>
| Constructor and Description |
|---|
HugeArrayReferenceList() |
HugeArrayReferenceList(String id,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swap,
int quantityClearThread,
int lists) |
| 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 value) |
boolean |
containsAll(Collection<?> c) |
void |
destroy() |
void |
flush() |
T |
get(int index) |
T |
get(long reference) |
int |
indexOf(Object o) |
long |
insert(T e) |
boolean |
isDeleteOnExit() |
boolean |
isEmpty() |
boolean |
isReadOnly() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
long |
length() |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
putIfAbsent(long reference,
T value) |
T |
remove(int index) |
boolean |
remove(long reference) |
boolean |
remove(long reference,
T oldValue) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
T |
replace(long reference,
T value) |
boolean |
replace(long reference,
T oldValue,
T value) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
T |
set(long reference,
T e) |
void |
setDeleteOnExit(boolean value) |
void |
setReadOnly(boolean value) |
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<K> K[] |
toArray(K[] a) |
public boolean add(T e)
public long insert(T e)
insert in interface ReferenceCollection<T>public T set(long reference, T e)
set in interface ReferenceCollection<T>public T get(long reference)
get in interface ReferenceCollection<T>public boolean remove(long reference)
remove in interface ReferenceCollection<T>public boolean replace(long reference,
T oldValue,
T value)
replace in interface ReferenceCollection<T>public T replace(long reference, T value)
replace in interface ReferenceCollection<T>public T putIfAbsent(long reference, T value)
putIfAbsent in interface ReferenceCollection<T>public boolean remove(long reference,
T oldValue)
remove in interface ReferenceCollection<T>public void setDeleteOnExit(boolean value)
setDeleteOnExit in interface HugeReferenceList<T>public boolean isDeleteOnExit()
isDeleteOnExit in interface HugeReferenceList<T>public int size()
size in interface Collection<T>size in interface List<T>size in interface HugeCollection<T>public long length()
length in interface ReferenceCollection<T>public boolean isEmpty()
public boolean contains(Object value)
public void clear()
public void destroy()
destroy in interface HugeReferenceList<T>public void flush()
flush in interface HugeReferenceList<T>public Object[] toArray()
public <K> K[] toArray(K[] a)
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(Collection<?> c)
public T get(int index)
public T remove(int index)
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 HugeReferenceList<T>public boolean isReadOnly()
isReadOnly in interface HugeReferenceList<T>Copyright © 2016. All rights reserved.