public class DoubleObjectDescription extends AbstractObjectDescription
Double
object.Constructor and Description |
---|
DoubleObjectDescription()
Creates a new object description.
|
Modifier and Type | Method and Description |
---|---|
Object |
createObject()
Creates an object based on this description.
|
boolean |
equals(Object o)
Tests for equality.
|
int |
hashCode()
Returns a hash code for the object.
|
void |
setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object.
|
clone, configure, convertPrimitiveClass, getConfig, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinition
public DoubleObjectDescription()
public Object createObject()
public void setParameterFromObject(Object o) throws ObjectFactoryException
o
- the object (should be an instance of Double
).ObjectFactoryException
- if the object is not an instance of Double
.public boolean equals(Object o)
equals
in interface ObjectDescription
equals
in class AbstractObjectDescription
o
- the object to test.public int hashCode()
hashCode
in interface ObjectDescription
hashCode
in class AbstractObjectDescription