org.bson.types
Class Symbol

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

public class Symbol
extends java.lang.Object

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


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

Constructor Detail

Symbol

public Symbol(java.lang.String s)
Method Detail

getSymbol

public java.lang.String getSymbol()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object