public class BsonSymbol extends BsonValue
Constructor | Description |
---|---|
BsonSymbolβ(String value) |
Creates a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equalsβ(Object o) |
Will compare equal to a String that is equal to the String that this holds
|
BsonType |
getBsonTypeβ() |
Gets the BSON type of this value.
|
String |
getSymbolβ() |
Gets the symbol value
|
int |
hashCodeβ() |
|
String |
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 BsonSymbolβ(String value)
value
- the symbol valuepublic BsonType getBsonTypeβ()
BsonValue
getBsonType
in class BsonValue
public String getSymbolβ()
public boolean equalsβ(Object o)