public boolean equals ( java.lang.Object obj ) { if ( obj == null ) return false ; return ( compareTo ( ( ( TYPE_1 ) ( obj ) ) ) ) == 0 ; } 

public boolean equals ( java.lang.Object obj ) { return ( ( obj != null ) && ( obj instanceof TYPE_1 ) ) && ( ( compareTo ( ( ( TYPE_1 ) ( obj ) ) ) ) == 0 ) ; } 
