class ReferenceList<T> extends ReferenceCollection<T> implements List<T>
| Modifier and Type | Class and Description |
|---|---|
private class |
ReferenceList.ReferenceListIterator<T> |
| Modifier and Type | Field and Description |
|---|---|
private List<Referrer<T>> |
list |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ReferenceList(List<Referrer<T>> list,
Ref type,
boolean gcThreads,
long gcCycle) |
ReferenceList(List<Referrer<T>> list,
ReferenceQueuingFactory<T,Referrer<T>> rqf,
Ref type) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
addAll(int index,
Collection<? extends T> c) |
boolean |
equals(Object o)
Implemented as per the List interface definition of equals.
|
T |
get(int index) |
int |
hashCode()
Implemented as per List interface definition.
|
int |
indexOf(Object o) |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
private void |
readObject(ObjectInputStream stream) |
T |
remove(int index) |
T |
set(int index,
T element) |
List<T> |
subList(int fromIndex,
int toIndex) |
add, addAll, clear, contains, containsAll, getRef, getRQF, isEmpty, iterator, processQueue, remove, size, toString, wrapObj, writeReplaceremoveAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamprivate static final long serialVersionUID
private void readObject(ObjectInputStream stream) throws InvalidObjectException
InvalidObjectExceptionpublic boolean equals(Object o)
equals in interface Collection<T>equals in interface List<T>equals in class ReferenceCollection<T>o - List.equals(java.lang.Object)public int hashCode()
hashCode in interface Collection<T>hashCode in interface List<T>hashCode in class ReferenceCollection<T>List.hashCode()public boolean addAll(int index,
Collection<? extends T> 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>Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.