|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.microedition.sensor.OperatorTest
javax.microedition.sensor.RangeCondition
public final class RangeCondition
Basic implementation of JSR256 RangeCondition 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 | |
|---|---|
RangeCondition(double lowerLimit,
String lowerOp,
double upperLimit,
String upperOp)
|
|
| Method Summary | |
|---|---|
double |
getLowerLimit()
|
String |
getLowerOp()
|
double |
getUpperLimit()
|
String |
getUpperOp()
|
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 RangeCondition(double lowerLimit,
String lowerOp,
double upperLimit,
String upperOp)
| Method Detail |
|---|
public boolean isMet(double doubleValue)
isMet in interface Conditionpublic boolean isMet(Object value)
isMet in interface Conditionpublic final double getLowerLimit()
public final String getLowerOp()
public final double getUpperLimit()
public final String getUpperOp()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||