Class DoubleObjectDescription
java.lang.Object
org.jfree.xml.factory.objects.AbstractObjectDescription
org.jfree.xml.factory.objects.DoubleObjectDescription
- All Implemented Interfaces:
Serializable, Cloneable, ObjectDescription
An object-description for a
Double object.- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates an object based on this description.booleanTests for equality.inthashCode()Returns a hash code for the object.voidSets the parameters of this description object to match the supplied object.
-
Constructor Details
-
DoubleObjectDescription
public DoubleObjectDescription()Creates a new object description.
-
-
Method Details
-
createObject
-
setParameterFromObject
Sets the parameters of this description object to match the supplied object.- Parameters:
o- the object (should be an instance ofDouble).- Throws:
ObjectFactoryException- if the object is not an instance ofDouble.
-
equals
Tests for equality.- Specified by:
equalsin interfaceObjectDescription- Overrides:
equalsin classAbstractObjectDescription- Parameters:
o- the object to test.- Returns:
- A boolean.
-
hashCode
Returns a hash code for the object.- Specified by:
hashCodein interfaceObjectDescription- Overrides:
hashCodein classAbstractObjectDescription- Returns:
- The hash code.
-