com.siemens.ct.exi.util
Class MethodsBag
java.lang.Object
com.siemens.ct.exi.util.MethodsBag
public class MethodsBag
- extends java.lang.Object
TODO Description
- Version:
- 0.4.20081010
- Author:
- Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodsBag
public MethodsBag()
numberOf7BitBlocksToRepresent
public static int numberOf7BitBlocksToRepresent(int n)
- Returns the least number of 7 bit-blocks that is needed to represent the
int n. Returns 1 if n is 0.
- Parameters:
n
- integer value
numberOf7BitBlocksToRepresent
public static int numberOf7BitBlocksToRepresent(long l)
- Returns the least number of 7 bit-blocks that is needed to represent the
long l. Returns 1 if l is 0.
- Parameters:
l
- long value
getCodingLength
public static final int getCodingLength(int characteristics)
getStringSize
public static final int getStringSize(int i)
getStringSize
public static final int getStringSize(long l)
itos
public static char[] itos(int i)
itos
public static void itos(int i,
int leastExclIndex,
char[] buf)
itos
public static char[] itos(long l)
itos
public static void itos(long l,
int leastExclIndex,
char[] buf)
itos
public static char[] itos(java.math.BigInteger bi)
itosReverse
public static char[] itosReverse(int i)
itosReverse
public static int itosReverse(int i,
int firstIndex,
char[] buf)
itosReverse
public static char[] itosReverse(long l)
itosReverse
public static char[] itosReverse(java.math.BigInteger bi)