Package org.bson.types
Class Symbol
- java.lang.Object
 - 
- org.bson.types.Symbol
 
 
- 
- All Implemented Interfaces:
 Serializable
public class Symbol extends Object implements Serializable
Class to hold an instance of the BSON symbol type.- See Also:
 - Serialized Form
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Will compare equal to a String that is equal to the String that this holdsStringgetSymbol()Gets the symbol.inthashCode()StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
Symbol
public Symbol(String symbol)
Construct a new instance with the given symbol.- Parameters:
 symbol- the symbol
 
 - 
 
 -