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