org.bson.types
Class Symbol

java.lang.Object
  extended by org.bson.types.Symbol

public class Symbol
extends Object

Class to hold a BSON symbol object, which is an interned string in Ruby


Constructor Summary
Symbol(String s)
           
 
Method Summary
 String getSymbol()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Symbol

public Symbol(String s)
Method Detail

getSymbol

public String getSymbol()

toString

public String toString()
Overrides:
toString in class Object