org.bson
Class LazyBSONList
java.lang.Object
org.bson.LazyBSONObject
org.bson.LazyBSONList
- All Implemented Interfaces:
- Iterable, Collection, List, BSONObject
- Direct Known Subclasses:
- LazyDBList
public class LazyBSONList
- extends LazyBSONObject
- implements List
| Methods inherited from class org.bson.LazyBSONObject |
containsField, containsKey, get, getBSONSize, getElementBSONSize, getElementType, getElementValue, isElementEmpty, isEmpty, keySet, put, putAll, putAll, removeField, sizeCString, toMap, toString |
LazyBSONList
public LazyBSONList(byte[] data,
LazyBSONCallback callback)
LazyBSONList
public LazyBSONList(byte[] data,
int offset,
LazyBSONCallback callback)
LazyBSONList
public LazyBSONList(BSONByteBuffer buffer,
LazyBSONCallback callback)
LazyBSONList
public LazyBSONList(BSONByteBuffer buffer,
int offset,
LazyBSONCallback callback)
contains
public boolean contains(Object arg0)
- Specified by:
contains in interface Collection- Specified by:
contains in interface List
containsAll
public boolean containsAll(Collection arg0)
- Specified by:
containsAll in interface Collection- Specified by:
containsAll in interface List
get
public Object get(int pos)
- Specified by:
get in interface List
iterator
public Iterator iterator()
- Specified by:
iterator in interface Iterable- Specified by:
iterator in interface Collection- Specified by:
iterator in interface List
indexOf
public int indexOf(Object arg0)
- Specified by:
indexOf in interface List
lastIndexOf
public int lastIndexOf(Object arg0)
- Specified by:
lastIndexOf in interface List
size
public int size()
- Specified by:
size in interface Collection- Specified by:
size in interface List
listIterator
public ListIterator listIterator(int arg0)
- Specified by:
listIterator in interface List
listIterator
public ListIterator listIterator()
- Specified by:
listIterator in interface List
add
public boolean add(Object arg0)
- Specified by:
add in interface Collection- Specified by:
add in interface List
add
public void add(int arg0,
Object arg1)
- Specified by:
add in interface List
addAll
public boolean addAll(Collection arg0)
- Specified by:
addAll in interface Collection- Specified by:
addAll in interface List
addAll
public boolean addAll(int arg0,
Collection arg1)
- Specified by:
addAll in interface List
clear
public void clear()
- Specified by:
clear in interface Collection- Specified by:
clear in interface List
remove
public boolean remove(Object arg0)
- Specified by:
remove in interface Collection- Specified by:
remove in interface List
remove
public Object remove(int arg0)
- Specified by:
remove in interface List
removeAll
public boolean removeAll(Collection arg0)
- Specified by:
removeAll in interface Collection- Specified by:
removeAll in interface List
retainAll
public boolean retainAll(Collection arg0)
- Specified by:
retainAll in interface Collection- Specified by:
retainAll in interface List
set
public Object set(int arg0,
Object arg1)
- Specified by:
set in interface List
subList
public List subList(int arg0,
int arg1)
- Specified by:
subList in interface List
toArray
public Object[] toArray()
- Specified by:
toArray in interface Collection- Specified by:
toArray in interface List
toArray
public Object[] toArray(Object[] arg0)
- Specified by:
toArray in interface Collection- Specified by:
toArray in interface List