public class RawBsonArray extends BsonArray implements java.io.Serializable
Constructor and Description |
---|
RawBsonArray(byte[] bytes)
Constructs a new instance with the given byte array.
|
RawBsonArray(byte[] bytes,
int offset,
int length)
Constructs a new instance with the given byte array, offset, and length.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(BsonValue bsonValue) |
void |
add(int index,
BsonValue element) |
boolean |
addAll(java.util.Collection<? extends BsonValue> c) |
boolean |
addAll(int index,
java.util.Collection<? extends BsonValue> c) |
void |
clear() |
BsonArray |
clone() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
BsonValue |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
BsonValue |
set(int index,
BsonValue element) |
contains, containsAll, get, getBsonType, getValues, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, parse, size, subList, toArray, toArray, toString
asArray, asBinary, asBoolean, asDateTime, asDBPointer, asDecimal128, asDocument, asDouble, asInt32, asInt64, asJavaScript, asJavaScriptWithScope, asNumber, asObjectId, asRegularExpression, asString, asSymbol, asTimestamp, isArray, isBinary, isBoolean, isDateTime, isDBPointer, isDecimal128, isDocument, isDouble, isInt32, isInt64, isJavaScript, isJavaScriptWithScope, isNull, isNumber, isObjectId, isRegularExpression, isString, isSymbol, isTimestamp
public RawBsonArray(byte[] bytes)
bytes
- the bytes representing a BSON document. Note that the byte array is NOT copied, so care must be taken not to modify it
after passing it to this construction, unless of course that is your intention.public RawBsonArray(byte[] bytes, int offset, int length)
bytes
- the bytes representing a BSON document. Note that the byte array is NOT copied, so care must be taken not to modify it
after passing it to this construction, unless of course that is your intention.offset
- the offset into the byte arraylength
- the length of the subarray to usepublic boolean add(BsonValue bsonValue)
public boolean remove(java.lang.Object o)
public boolean addAll(java.util.Collection<? extends BsonValue> c)
public boolean addAll(int index, java.util.Collection<? extends BsonValue> c)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public void clear()
public void add(int index, BsonValue element)
public BsonValue remove(int index)
public boolean equals(java.lang.Object o)
Copyright © 2010 - 2020 Adobe. All Rights Reserved