/** * Indicates whether some other object is "equal to" this one. * The delegate is used if the class of the parameter and the * current class are equal. In other cases the method will return * false. The exact class is here used, if inheritance is needed, * this method must be overwritten. * * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (obj instanceof Proxy) { obj = Proxy.getInvocationHandler(obj); } if (obj instanceof ConversionHandler) { return (((ConversionHandler) obj).getDelegate()).equals(delegate); } else { return false; } }
/** * Indicates whether some other object is "equal to" this one. * The delegate is used if the class of the parameter and the * current class are equal. In other cases the method will return * false. The exact class is here used, if inheritance is needed, * this method must be overwritten. * * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (obj instanceof Proxy) { obj = Proxy.getInvocationHandler(obj); } if (obj instanceof ConversionHandler) { return (((ConversionHandler) obj).getDelegate()).equals(delegate); } else { return false; } }
/** * Indicates whether some other object is "equal to" this one. * The delegate is used if the class of the parameter and the * current class are equal. In other cases the method will return * false. The exact class is here used, if inheritance is needed, * this method must be overwritten. * * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (obj instanceof Proxy) { obj = Proxy.getInvocationHandler(obj); } if (obj instanceof ConversionHandler) { return (((ConversionHandler) obj).getDelegate()).equals(delegate); } else { return false; } }
/** * Indicates whether some other object is "equal to" this one. * The delegate is used if the class of the parameter and the * current class are equal. In other cases the method will return * false. The exact class is here used, if inheritance is needed, * this method must be overwritten. * * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (obj instanceof Proxy) { obj = Proxy.getInvocationHandler(obj); } if (obj instanceof ConversionHandler) { return (((ConversionHandler) obj).getDelegate()).equals(delegate); } else { return false; } }
/** * Indicates whether some other object is "equal to" this one. * The delegate is used if the class of the parameter and the * current class are equal. In other cases the method will return * false. The exact class is here used, if inheritance is needed, * this method must be overwritten. * * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (obj instanceof Proxy) { obj = Proxy.getInvocationHandler(obj); } if (obj instanceof ConversionHandler) { return (((ConversionHandler) obj).getDelegate()).equals(delegate); } else { return false; } }