|
iRex DR1000 Manager v0.5.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.andynaz.irex.dr1000.scribble.Util
public class Util
Usefull methods for threating with the scribble blobs.
Constructor Summary | |
---|---|
private |
Util()
|
Method Summary | |
---|---|
static float |
get4ByteFloat(int i1,
int i2,
int i3,
int i4)
Transform 4 bytes in a float. |
static int |
getIntFromBytes(int... x)
Transform a series of bytes in an int. |
static void |
skip(List l,
int n)
Deprecated. not used anymore |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private Util()
Method Detail |
---|
public static int getIntFromBytes(int... x)
x
- ints representing bytes
IllegalArgumentException
- if at least one of the ints does not
represent a byte, ie its value does not belong to the range [0, 255]public static float get4ByteFloat(int i1, int i2, int i3, int i4)
The 32 bits are converted according to the IEEE 754 floating-point
"single format" bit layout, using the Float.intBitsToFloat(int)
method.
i1
- valore compreso nell'intervallo [0,255]i2
- valore compreso nell'intervallo [0,255]i3
- valore compreso nell'intervallo [0,255]i4
- valore compreso nell'intervallo [0,255]
@Deprecated public static void skip(List l, int n)
l
- collection from whom remove the elementsn
- number of elements to remove
|
iRex DR1000 Manager v0.5.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |