Package org.bson
Class BsonElement
- java.lang.Object
-
- org.bson.BsonElement
-
public class BsonElement extends Object
A mapping from a name to a BsonValue.- Since:
- 3.0
- See Also:
BsonDocument
-
-
Constructor Summary
Constructors Constructor Description BsonElement(String name, BsonValue value)Construct a new instance with the given key and value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()Gets the name of the key/field.BsonValuegetValue()Gets the value of this element.inthashCode()
-