public class BsonElement extends Object
BsonDocument| Constructor | Description |
|---|---|
BsonElement(String name,
BsonValue value) |
Construct a new instance with the given key and value
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
|
String |
getName() |
Gets the name of the key/field.
|
BsonValue |
getValue() |
Gets the value of this element.
|
int |
hashCode() |