|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp2codec.util.MathUtil
public class MathUtil
This class contains a collection of utility methods fro mathematical operations. All methods are static.
Constructor Summary | |
---|---|
MathUtil()
|
Method Summary | |
---|---|
static int |
log2(int x)
Method that calculates the floor of the log, base 2, of 'x'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MathUtil()
Method Detail |
---|
public static int log2(int x)
x
- The value to calculate log2 on.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |