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.
|
| Constructor and Description |
|---|
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 index,
Object element) |
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
boolean |
addAll(int index,
Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection collection) |
Object |
get(int index) |
int |
indexOf(Object o) |
Iterator |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int index) |
Object |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
Object |
set(int index,
Object element) |
int |
size() |
List |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
containsField, containsKey, entrySet, equals, get, getBSONSize, getBytes, getOffset, hashCode, isEmpty, keySet, pipe, put, putAll, putAll, removeField, toMap, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, isEmpty, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic 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 valuespublic int size()
size in interface Collectionsize in interface Listpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Listpublic Iterator iterator()
public boolean containsAll(Collection collection)
containsAll in interface CollectioncontainsAll in interface Listpublic int lastIndexOf(Object o)
lastIndexOf in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int index)
listIterator in interface Listpublic boolean add(Object o)
add in interface Collectionadd in interface Listpublic boolean remove(Object o)
remove in interface Collectionremove in interface Listpublic boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface Listpublic boolean addAll(int index,
Collection c)
public boolean removeAll(Collection c)
removeAll in interface CollectionremoveAll in interface Listpublic boolean retainAll(Collection c)
retainAll in interface CollectionretainAll in interface Listpublic void clear()
clear in interface Collectionclear in interface Listpublic Object[] toArray()
toArray in interface CollectiontoArray in interface List