org.apache.avro.generic
Class GenericData.EnumSymbol

java.lang.Object
  extended by org.apache.avro.generic.GenericData.EnumSymbol
All Implemented Interfaces:
GenericEnumSymbol
Enclosing class:
GenericData

public static class GenericData.EnumSymbol
extends Object
implements GenericEnumSymbol

Default implementation of GenericEnumSymbol.


Constructor Summary
GenericData.EnumSymbol(String symbol)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
          Return the symbol.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericData.EnumSymbol

public GenericData.EnumSymbol(String symbol)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Description copied from interface: GenericEnumSymbol
Return the symbol.

Specified by:
toString in interface GenericEnumSymbol
Overrides:
toString in class Object


Copyright © 2010 The Apache Software Foundation