public boolean equals ( java.lang.Object VAR_1 ) { if ( ( this ) == VAR_1 ) return true ; if ( ( this . getClass ( ) ) != ( VAR_1 . getClass ( ) ) ) return false ; TYPE_1 VAR_2 = ( ( TYPE_1 ) ( VAR_1 ) ) ; return ( this . getType ( ) . equals ( VAR_2 . getType ( ) ) ) && ( ( this . getColor ( ) ) == ( VAR_2 . getColor ( ) ) ) ; }

public boolean equals ( java.lang.Object VAR_1 ) { if ( ( this ) == VAR_1 ) return true ; if ( VAR_1 == null ) return false ; if ( ( this . getClass ( ) ) != ( VAR_1 . getClass ( ) ) ) return false ; TYPE_1 VAR_2 = ( ( TYPE_1 ) ( VAR_1 ) ) ; return ( this . getType ( ) . equals ( VAR_2 . getType ( ) ) ) && ( ( this . getColor ( ) ) == ( VAR_2 . getColor ( ) ) ) ; }
