List of utility methods to do Radian From
double | toRadians(int latitude) to Radians return toDegrees(latitude) * Math.PI / 180;
|
double | toRadians(Integer angdeg) to Radians return Math.toRadians(angdeg.doubleValue());
|
String | toRadix16(byte[] source, int srcOffset, int len) to Radix char[] hex = new char[len * 2]; for (int j = 0; j < len; j++) { int b = source[j + srcOffset] & 0xFF; hex[j * 2] = HEX.charAt(b >>> 4); hex[j * 2 + 1] = HEX.charAt(b & 0x0F); return new String(hex); |
String | toRadix16(byte[] source, int srcOffset, int len) Convert an n-bit BIG-ENDIAN representation of a number into its hexadecimal form char[] hex = new char[len * 2]; for (int j = 0; j < len; j++) { int b = source[j + srcOffset] & 0xFF; hex[j * 2] = HEX.charAt(b >>> 4); hex[j * 2 + 1] = HEX.charAt(b & 0x0F); return new String(hex); |
String | toRadixPrefix(int radix) to Radix Prefix switch (radix) { case 2: return "#b"; case 8: return "#o"; case 10: return "#d"; case 16: ... |