Imported GNU Classpath 0.19 + gcj-import-20051115.

* sources.am: Regenerated.
       * Makefile.in: Likewise.
       * scripts/makemake.tcl: Use glob -nocomplain.

From-SVN: r107049
This commit is contained in:
Mark Wielaard 2005-11-15 23:20:01 +00:00
parent 02e549bfaa
commit 8f523f3a10
1241 changed files with 97711 additions and 25284 deletions

View file

@ -61,7 +61,6 @@ import java.lang.reflect.Method;
** @since 1.1
** @status updated to 1.4
**/
public class PropertyDescriptor extends FeatureDescriptor
{
Class propertyType;
@ -521,6 +520,22 @@ public class PropertyDescriptor extends FeatureDescriptor
return newPropertyType;
}
/**
* Return a hash code for this object, conforming to the contract described
* in {@link Object#hashCode()}.
* @return the hash code
* @since 1.5
*/
public int hashCode()
{
return ((propertyType == null ? 0 : propertyType.hashCode())
| (propertyEditorClass == null ? 0 : propertyEditorClass.hashCode())
| (bound ? Boolean.TRUE : Boolean.FALSE).hashCode()
| (constrained ? Boolean.TRUE : Boolean.FALSE).hashCode()
| (getMethod == null ? 0 : getMethod.hashCode())
| (setMethod == null ? 0 : setMethod.hashCode()));
}
/** Compares this <code>PropertyDescriptor</code> against the
* given object.
* Two PropertyDescriptors are equals if