|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.microedition.sensor.OperatorTest javax.microedition.sensor.LimitCondition
public class LimitCondition
Basic implementation of the JSR256 LimitCondition class
Field Summary |
---|
Fields inherited from interface javax.microedition.sensor.Condition |
---|
OP_EQUALS, OP_GREATER_THAN, OP_GREATER_THAN_OR_EQUALS, OP_LESS_THAN, OP_LESS_THAN_OR_EQUALS |
Constructor Summary | |
---|---|
LimitCondition(double limit,
String operator)
|
Method Summary | |
---|---|
double |
getLimit()
|
String |
getOperator()
|
boolean |
isMet(double doubleValue)
|
boolean |
isMet(Object value)
|
String |
toString()
|
Methods inherited from class javax.microedition.sensor.OperatorTest |
---|
test |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LimitCondition(double limit, String operator)
Method Detail |
---|
public boolean isMet(double doubleValue)
isMet
in interface Condition
public boolean isMet(Object value)
isMet
in interface Condition
public final double getLimit()
public final String getOperator()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |