Contents
Class DataUtils
java.lang.Object
org.jlab.utils.data.DataUtils
- Author:
- gavalian
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte
getByteFromInt
(int data) static byte
getByteFromShort
(short data) static int
getInteger
(int data, int bitstart, int bitend) static int
getIntFromByte
(byte data) static int
getIntFromShort
(short data) static long
getLongFromInt
(int data) static short
getShortFromByte
(byte data) static short
getShortFromInt
(int data) static void
-
Field Details
-
Constructor Details
-
Method Details
-
createBitMap
-
printBitMap
public static void printBitMap() -
getInteger
public static int getInteger(int data, int bitstart, int bitend) -
getShortFromByte
public static short getShortFromByte(byte data) -
getIntFromShort
public static int getIntFromShort(short data) -
getIntFromByte
public static int getIntFromByte(byte data) -
getShortFromInt
public static short getShortFromInt(int data) -
getByteFromInt
public static byte getByteFromInt(int data) -
getByteFromShort
public static byte getByteFromShort(short data) -
getLongFromInt
public static long getLongFromInt(int data)
-