public class LazyBSONList extends LazyBSONObject implements List
LazyBSONObject
representing a BSON array.Modifier and Type | Class and Description |
---|---|
class |
LazyBSONList.LazyBSONListIterator
An iterator over the values in a LazyBsonList.
|
LazyBSONObject.LazyBSONKeySet
_callback, _doc_start_offset, _input
Constructor and Description |
---|
LazyBSONList(BSONByteBuffer buffer,
int offset,
LazyBSONCallback callback)
Deprecated.
use
LazyBSONList(byte[], int, LazyBSONCallback) instead |
LazyBSONList(BSONByteBuffer buffer,
LazyBSONCallback callback)
Deprecated.
use
LazyBSONList(byte[], LazyBSONCallback) instead |
LazyBSONList(byte[] bytes,
int offset,
LazyBSONCallback callback)
Construct an instance with the given raw bytes and offset.
|
LazyBSONList(byte[] bytes,
LazyBSONCallback callback)
Construct an instance with the given raw bytes and offset.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int arg0,
Object arg1) |
boolean |
add(Object arg0) |
boolean |
addAll(Collection arg0) |
boolean |
addAll(int arg0,
Collection arg1) |
void |
clear() |
boolean |
contains(Object arg0) |
boolean |
containsAll(Collection arg0) |
Object |
get(int pos) |
int |
indexOf(Object arg0) |
Iterator |
iterator() |
int |
lastIndexOf(Object arg0) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int arg0) |
Object |
remove(int arg0) |
boolean |
remove(Object arg0) |
boolean |
removeAll(Collection arg0) |
boolean |
retainAll(Collection arg0) |
Object |
set(int arg0,
Object arg1) |
int |
size() |
List |
subList(int arg0,
int arg1) |
Object[] |
toArray() |
Object[] |
toArray(Object[] arg0) |
containsField, containsKey, entrySet, equals, get, getBSONSize, getBytes, getElementBSONSize, getElementType, getElementValue, getOffset, hashCode, isElementEmpty, isEmpty, keySet, pipe, put, putAll, putAll, removeField, sizeCString, toMap, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, hashCode, isEmpty, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public LazyBSONList(byte[] bytes, LazyBSONCallback callback)
bytes
- the raw BSON bytescallback
- the callback to use to create nested valuespublic LazyBSONList(byte[] bytes, int offset, LazyBSONCallback callback)
bytes
- the raw BSON bytesoffset
- the offset into the raw bytescallback
- the callback to use to create nested values@Deprecated public LazyBSONList(BSONByteBuffer buffer, LazyBSONCallback callback)
LazyBSONList(byte[], LazyBSONCallback)
instead@Deprecated public LazyBSONList(BSONByteBuffer buffer, int offset, LazyBSONCallback callback)
LazyBSONList(byte[], int, LazyBSONCallback)
insteadpublic boolean contains(Object arg0)
contains
in interface Collection
contains
in interface List
public boolean containsAll(Collection arg0)
containsAll
in interface Collection
containsAll
in interface List
public Iterator iterator()
public int lastIndexOf(Object arg0)
lastIndexOf
in interface List
public int size()
size
in interface Collection
size
in interface List
public ListIterator listIterator(int arg0)
listIterator
in interface List
public ListIterator listIterator()
listIterator
in interface List
public boolean add(Object arg0)
add
in interface Collection
add
in interface List
public boolean addAll(Collection arg0)
addAll
in interface Collection
addAll
in interface List
public boolean addAll(int arg0, Collection arg1)
public void clear()
clear
in interface Collection
clear
in interface List
public boolean remove(Object arg0)
remove
in interface Collection
remove
in interface List
public boolean removeAll(Collection arg0)
removeAll
in interface Collection
removeAll
in interface List
public boolean retainAll(Collection arg0)
retainAll
in interface Collection
retainAll
in interface List
public Object[] toArray()
toArray
in interface Collection
toArray
in interface List