|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfclown.util.math.OperationUtils
public final class OperationUtils
Specialized math operations.
| Constructor Summary | |
|---|---|
OperationUtils()
|
|
| Method Summary | |
|---|---|
static int |
compare(byte[] data1,
byte[] data2)
Compares big-endian byte arrays. |
static int |
compare(double value1,
double value2)
Compares double-precision floating-point numbers applying the default error tolerance. |
static int |
compare(double value1,
double value2,
double epsilon)
Compares double-precision floating-point numbers applying the specified error tolerance. |
static void |
increment(byte[] data)
Increments a big-endian byte array. |
static void |
increment(byte[] data,
int position)
Increments a big-endian byte array at the specified position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationUtils()
| Method Detail |
|---|
public static int compare(double value1,
double value2)
value1 - First argument to compare.value2 - Second argument to compare.
public static int compare(double value1,
double value2,
double epsilon)
value1 - First argument to compare.value2 - Second argument to compare.epsilon - Relative error tolerance.
public static int compare(byte[] data1,
byte[] data2)
data1 - First argument to compare.data2 - Second argument to compare.
public static void increment(byte[] data)
public static void increment(byte[] data,
int position)
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||