|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.base.core.arithmetic.XIntSupport
public class XIntSupport
XIntSupport is a collection of helpful methods concerning
integer handling.
| Constructor Summary | |
|---|---|
XIntSupport()
|
|
| Method Summary | |
|---|---|
static int |
calculateLength(long value,
int radix)
calculateLength computes the length of an integer in
respect to a given radix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XIntSupport()
| Method Detail |
|---|
public static int calculateLength(long value,
int radix)
calculateLength computes the length of an integer in
respect to a given radix. The implementation is simple: dividing in loop.
value - the integer for which to compute the lengthradix - the radix for length computation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||