|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.data.Util
public class Util
Various utility methods for runtime handling of the types defined in this package.
Method Summary | |
---|---|
static Alarm |
alarmOf(java.lang.Object obj)
Extracts the alarm information if present. |
static Display |
displayOf(java.lang.Object obj)
Extracts the display information if present. |
static java.lang.Double |
normalize(java.lang.Number value,
Display display)
Normalizes the given value according to the given display information. |
static java.lang.Double |
normalizedNumericValueOf(java.lang.Object obj)
Extracts the numericValueOf the object and normalizes according to the display range. |
static java.lang.Double |
numericValueOf(java.lang.Object obj)
Extracts a numeric value for the object. |
static Time |
timeOf(java.lang.Object obj)
Extracts the time information if present. |
static java.lang.Class<?> |
typeOf(java.lang.Object obj)
Returns the type of the object by returning the class object of one of the VXxx interfaces. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Class<?> typeOf(java.lang.Object obj)
obj
- an object implementing a standard type
public static Alarm alarmOf(java.lang.Object obj)
obj
- an object implementing a standard type
public static Time timeOf(java.lang.Object obj)
obj
- an object implementing a standard type
public static Display displayOf(java.lang.Object obj)
obj
- an object implementing a standard type
public static java.lang.Double normalizedNumericValueOf(java.lang.Object obj)
obj
- an object implementing a standard type
public static java.lang.Double normalize(java.lang.Number value, Display display)
value
- a valuedisplay
- the display information
public static java.lang.Double numericValueOf(java.lang.Object obj)
obj
- an object implementing a standard type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |