List of usage examples for org.springframework.beans PropertyDescriptorUtils equals
public static boolean equals(PropertyDescriptor pd, PropertyDescriptor otherPd)
From source file:org.springframework.beans.GenericTypeAwarePropertyDescriptor.java
@Override public boolean equals(Object other) { if (this == other) { return true; }//from ww w . j a va 2 s . co m if (!(other instanceof GenericTypeAwarePropertyDescriptor)) { return false; } GenericTypeAwarePropertyDescriptor otherPd = (GenericTypeAwarePropertyDescriptor) other; return (getBeanClass().equals(otherPd.getBeanClass()) && PropertyDescriptorUtils.equals(this, otherPd)); }