public boolean equals ( java.lang.Object obj ) { if ( obj instanceof TYPE_1 ) { return value . equals ( ( ( TYPE_1 ) ( obj ) ) . value ) ; } else { return ( ( obj != null ) && ( obj instanceof TYPE_2 ) ) && ( obj . equals ( value ) ) ; } }

public boolean equals ( java.lang.Object obj ) { if ( ( obj != null ) && ( ( this . getClass ( ) ) == ( obj . getClass ( ) ) ) ) { return value . equals ( ( ( TYPE_1 ) ( obj ) ) . value ) ; } else { return ( ( obj != null ) && ( obj instanceof TYPE_2 ) ) && ( obj . equals ( value ) ) ; } }
