int function ( ) { return 37 * 17 + ( int ) typeVal ; }
we use a basic hashcode implementation , since this class will likely not be used as a hashmap key concode_field_sep byte BOOL concode_elem_sep byte INT concode_elem_sep byte typeVal concode_elem_sep byte DOUBLE concode_elem_sep TypeID StringTypeID concode_elem_sep byte FLOAT concode_elem_sep TypeID DoubleTypeID concode_elem_sep TypeID FloatTypeID concode_elem_sep byte MAP concode_elem_sep byte STRING concode_elem_sep TypeID BufferTypeID concode_elem_sep TypeID IntTypeID concode_elem_sep TypeID LongTypeID concode_elem_sep byte BYTE concode_elem_sep byte STRUCT concode_elem_sep TypeID BoolTypeID concode_elem_sep TypeID ByteTypeID concode_elem_sep byte BUFFER concode_elem_sep byte LONG concode_elem_sep byte VECTOR concode_field_sep byte getTypeVal concode_elem_sep boolean equals concode_elem_sep void write