public boolean equals ( java.lang.Object obj ) { if ( ! ( obj instanceof TYPE_1 ) ) { return super . equals ( obj ) ; } return ( this . value ) == ( n . value ( ) ) ; }
public int compareTo ( TYPE_1 obj ) { if ( ( this . value ) == ( obj . value ( ) ) ) { return 0 ; } return ( this . value ) > ( obj . value ( ) ) ? 1 : - 1 ; }