org.apache.avro.generic
Class GenericData.EnumSymbol
java.lang.Object
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
.
GenericData.EnumSymbol
public GenericData.EnumSymbol(String symbol)
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