|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.params.AbstractLongParameter
public abstract class AbstractLongParameter
Represents a parameter with a Long 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 | |
|---|---|
AbstractLongParameter(long value)
Creates a new value instance of this parameter. |
|
| Method Summary | |
|---|---|
long |
booleanValue()
Returns the primitive long 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. |
Long |
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 AbstractLongParameter(long value)
value - the parameter value| Method Detail |
|---|
public final long booleanValue()
public final Long value()
IParameter
value in interface IParameter<Long>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 | |||||||||