|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.gidley.jmxmonitor.functions.RangeFunctions
public class RangeFunctions
Library of extra functions for scripting. These are just to make it easier to do things in the scripts
This library is themed around checking ranges Created by IntelliJ IDEA. User: ben Date: Jan 19, 2010 Time: 1:08:02 PM
| Constructor Summary | |
|---|---|
RangeFunctions()
|
|
| Method Summary | |
|---|---|
static boolean |
isAbove(long reading,
long value)
Returns true IFF reading is greater than value |
static boolean |
isBelow(long reading,
long value)
Returns true IFF reading is less than value |
static boolean |
isBetween(long reading,
long floor,
long ceiling)
Returns true IFF reading is between floor and ceiling |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeFunctions()
| Method Detail |
|---|
public static boolean isAbove(long reading,
long value)
reading - value -
public static boolean isBelow(long reading,
long value)
reading - value -
public static boolean isBetween(long reading,
long floor,
long ceiling)
reading - floor - ceiling -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||