public boolean equals ( java.lang.Object obj ) { if ( getClass ( ) . equals ( obj . getClass ( ) ) ) { TYPE_1 p = ( ( TYPE_1 ) ( obj ) ) ; if ( ( data ) == null ) { return ( p . getData ( ) ) == null ; } else { return data . equals ( p . getData ( ) ) ; } } else { return false ; } }

public boolean equals ( java.lang.Object obj ) { if ( ( obj != null ) && ( getClass ( ) . equals ( obj . getClass ( ) ) ) ) { TYPE_1 p = ( ( TYPE_1 ) ( obj ) ) ; if ( ( data ) == null ) { return ( p . getData ( ) ) == null ; } else { return data . equals ( p . getData ( ) ) ; } } else { return false ; } }
