public class DiskBasedList
extends java.lang.Object
implements java.util.List
Constructor and Description |
---|
DiskBasedList(Config conf,
MessageType dataType) |
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
java.lang.Object o) |
boolean |
add(java.lang.Object t) |
boolean |
addAll(java.util.Collection data) |
boolean |
addAll(int i,
java.util.Collection collection) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection collection) |
void |
dispose() |
java.lang.Object |
get(int i) |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator |
listIterator() |
java.util.ListIterator |
listIterator(int i) |
java.lang.Object |
remove(int i) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection collection) |
boolean |
retainAll(java.util.Collection collection) |
java.lang.Object |
set(int i,
java.lang.Object o) |
int |
size() |
java.util.List |
subList(int i,
int i1) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] objects) |
public DiskBasedList(Config conf, MessageType dataType)
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.List
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection
contains
in interface java.util.List
public boolean add(java.lang.Object t)
add
in interface java.util.Collection
add
in interface java.util.List
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
remove
in interface java.util.List
public boolean containsAll(java.util.Collection collection)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.List
public boolean addAll(java.util.Collection data)
addAll
in interface java.util.Collection
addAll
in interface java.util.List
public boolean addAll(int i, java.util.Collection collection)
addAll
in interface java.util.List
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
public void dispose()
public java.lang.Object get(int i)
get
in interface java.util.List
public java.lang.Object set(int i, java.lang.Object o)
set
in interface java.util.List
public void add(int i, java.lang.Object o)
add
in interface java.util.List
public java.lang.Object remove(int i)
remove
in interface java.util.List
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
public java.util.ListIterator listIterator(int i)
listIterator
in interface java.util.List
public java.util.List subList(int i, int i1)
subList
in interface java.util.List
public boolean retainAll(java.util.Collection collection)
retainAll
in interface java.util.Collection
retainAll
in interface java.util.List
public boolean removeAll(java.util.Collection collection)
removeAll
in interface java.util.Collection
removeAll
in interface java.util.List
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.List
public java.lang.Object[] toArray(java.lang.Object[] objects)
toArray
in interface java.util.Collection
toArray
in interface java.util.List