|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.params.AbstractIntegerParameter
public abstract class AbstractIntegerParameter
Represents a parameter with a Integer 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 | |
|---|---|
AbstractIntegerParameter(int value)
Creates a new value instance of this parameter. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares the given object for equality with this one. |
int |
hashCode()
Returns the hash code for this parameter value. |
int |
intValue()
Returns the primitive int value of this parameter. |
Integer |
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 AbstractIntegerParameter(int value)
value - the parameter value| Method Detail |
|---|
public final int intValue()
public final Integer value()
IParameter
value in interface IParameter<Integer>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 | |||||||||