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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user