Package org.bson
Class LazyBSONList
- java.lang.Object
-
- org.bson.LazyBSONObject
-
- org.bson.LazyBSONList
-
- All Implemented Interfaces:
java.lang.Iterable,java.util.Collection,java.util.List,BSONObject
- Direct Known Subclasses:
LazyDBList
@Deprecated(since="2022-10-31") public class LazyBSONList extends LazyBSONObject implements java.util.List
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.ALazyBSONObjectrepresenting a BSON array.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classLazyBSONList.LazyBSONListIteratorDeprecated.Usage of this API is not supported in AEM as a Cloud Service.
-
Constructor Summary
Constructors Constructor Description LazyBSONList(byte[] bytes, int offset, LazyBSONCallback callback)Deprecated.Construct an instance with the given raw bytes and offset.LazyBSONList(byte[] bytes, LazyBSONCallback callback)Deprecated.Construct an instance with the given raw bytes and offset.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(int index, java.lang.Object element)Deprecated.booleanadd(java.lang.Object o)Deprecated.booleanaddAll(int index, java.util.Collection c)Deprecated.booleanaddAll(java.util.Collection c)Deprecated.voidclear()Deprecated.booleancontains(java.lang.Object o)Deprecated.booleancontainsAll(java.util.Collection collection)Deprecated.java.lang.Objectget(int index)Deprecated.intindexOf(java.lang.Object o)Deprecated.java.util.Iteratoriterator()Deprecated.intlastIndexOf(java.lang.Object o)Deprecated.java.util.ListIteratorlistIterator()Deprecated.java.util.ListIteratorlistIterator(int index)Deprecated.java.lang.Objectremove(int index)Deprecated.booleanremove(java.lang.Object o)Deprecated.booleanremoveAll(java.util.Collection c)Deprecated.booleanretainAll(java.util.Collection c)Deprecated.java.lang.Objectset(int index, java.lang.Object element)Deprecated.intsize()Deprecated.java.util.ListsubList(int fromIndex, int toIndex)Deprecated.java.lang.Object[]toArray()Deprecated.java.lang.Object[]toArray(java.lang.Object[] a)Deprecated.-
Methods inherited from class org.bson.LazyBSONObject
containsField, containsKey, entrySet, equals, get, getBSONSize, hashCode, isEmpty, keySet, pipe, put, putAll, putAll, removeField, toMap
-
-
-
-
Constructor Detail
-
LazyBSONList
public LazyBSONList(byte[] bytes, LazyBSONCallback callback)Deprecated.Construct an instance with the given raw bytes and offset.- Parameters:
bytes- the raw BSON bytescallback- the callback to use to create nested values
-
LazyBSONList
public LazyBSONList(byte[] bytes, int offset, LazyBSONCallback callback)Deprecated.Construct an instance with the given raw bytes and offset.- Parameters:
bytes- the raw BSON bytesoffset- the offset into the raw bytescallback- the callback to use to create nested values
-
-
Method Detail
-
size
public int size()
Deprecated.- Specified by:
sizein interfacejava.util.Collection- Specified by:
sizein interfacejava.util.List
-
contains
public boolean contains(java.lang.Object o)
Deprecated.- Specified by:
containsin interfacejava.util.Collection- Specified by:
containsin interfacejava.util.List
-
iterator
public java.util.Iterator iterator()
Deprecated.- Specified by:
iteratorin interfacejava.util.Collection- Specified by:
iteratorin interfacejava.lang.Iterable- Specified by:
iteratorin interfacejava.util.List
-
containsAll
public boolean containsAll(java.util.Collection collection)
Deprecated.- Specified by:
containsAllin interfacejava.util.Collection- Specified by:
containsAllin interfacejava.util.List
-
get
public java.lang.Object get(int index)
Deprecated.- Specified by:
getin interfacejava.util.List
-
indexOf
public int indexOf(java.lang.Object o)
Deprecated.- Specified by:
indexOfin interfacejava.util.List
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
Deprecated.- Specified by:
lastIndexOfin interfacejava.util.List
-
listIterator
public java.util.ListIterator listIterator()
Deprecated.- Specified by:
listIteratorin interfacejava.util.List
-
listIterator
public java.util.ListIterator listIterator(int index)
Deprecated.- Specified by:
listIteratorin interfacejava.util.List
-
add
public boolean add(java.lang.Object o)
Deprecated.- Specified by:
addin interfacejava.util.Collection- Specified by:
addin interfacejava.util.List
-
remove
public boolean remove(java.lang.Object o)
Deprecated.- Specified by:
removein interfacejava.util.Collection- Specified by:
removein interfacejava.util.List
-
addAll
public boolean addAll(java.util.Collection c)
Deprecated.- Specified by:
addAllin interfacejava.util.Collection- Specified by:
addAllin interfacejava.util.List
-
addAll
public boolean addAll(int index, java.util.Collection c)Deprecated.- Specified by:
addAllin interfacejava.util.List
-
removeAll
public boolean removeAll(java.util.Collection c)
Deprecated.- Specified by:
removeAllin interfacejava.util.Collection- Specified by:
removeAllin interfacejava.util.List
-
retainAll
public boolean retainAll(java.util.Collection c)
Deprecated.- Specified by:
retainAllin interfacejava.util.Collection- Specified by:
retainAllin interfacejava.util.List
-
clear
public void clear()
Deprecated.- Specified by:
clearin interfacejava.util.Collection- Specified by:
clearin interfacejava.util.List
-
set
public java.lang.Object set(int index, java.lang.Object element)Deprecated.- Specified by:
setin interfacejava.util.List
-
add
public void add(int index, java.lang.Object element)Deprecated.- Specified by:
addin interfacejava.util.List
-
remove
public java.lang.Object remove(int index)
Deprecated.- Specified by:
removein interfacejava.util.List
-
subList
public java.util.List subList(int fromIndex, int toIndex)Deprecated.- Specified by:
subListin interfacejava.util.List
-
toArray
public java.lang.Object[] toArray()
Deprecated.- Specified by:
toArrayin interfacejava.util.Collection- Specified by:
toArrayin interfacejava.util.List
-
toArray
public java.lang.Object[] toArray(java.lang.Object[] a)
Deprecated.- Specified by:
toArrayin interfacejava.util.Collection- Specified by:
toArrayin interfacejava.util.List
-
-