|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.params.AbstractDoubleParameter
public abstract class AbstractDoubleParameter
Represents a parameter with a Double value. Subclasses of this type
should not add member variables that affect the notion of parameter equality.
This requirement is reflected by the fact that equals(Object) and
hashCode() are final.
| Constructor Summary | |
|---|---|
AbstractDoubleParameter(double value)
Creates a new value instance of this parameter. |
|
| Method Summary | |
|---|---|
double |
doubleValue()
Returns the primitive double value of this parameter. |
boolean |
equals(Object obj)
Compares the given object for equality with this one. |
int |
hashCode()
Returns the hash code for this parameter value. |
Double |
value()
Returns the value of this parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDoubleParameter(double value)
value - the parameter value| Method Detail |
|---|
public final double doubleValue()
public final Double value()
IParameter
value in interface IParameter<Double>public final int hashCode()
hashCode in class Objectpublic final boolean equals(Object obj)
equals in class Objectobj - the object to be compared to this one
Object.equals(Object),
Object.getClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||