Index

B C D E G H I L N P R S U 
All Classes and Interfaces|All Packages

B

Base02Utils - Class in craterdog.utils
This utility class provides functions for encoding and decoding byte arrays using base 2.
Base16Utils - Class in craterdog.utils
This utility class provides functions for encoding and decoding byte arrays using base 16.
Base32Utils - Class in craterdog.utils
This utility class provides functions for encoding and decoding byte arrays using base 32.
Base64Utils - Class in craterdog.utils
This utility class provides functions for encoding and decoding byte arrays using base 64.
bigDecimalToBytes(BigDecimal) - Static method in class craterdog.utils.ByteUtils
This function converts a big decimal to its corresponding byte array format.
bigDecimalToBytes(BigDecimal, byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts a big decimal into its corresponding byte format and inserts it into the specified buffer.
bigDecimalToBytes(BigDecimal, byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts a big decimal into its corresponding byte format and inserts it into the specified buffer at the specified index.
bigIntegerToBytes(BigInteger) - Static method in class craterdog.utils.ByteUtils
This function converts a big integer to its corresponding byte array format.
bigIntegerToBytes(BigInteger, byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts a big integer into its corresponding byte format and inserts it into the specified buffer.
bigIntegerToBytes(BigInteger, byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts a big integer into its corresponding byte format and inserts it into the specified buffer at the specified index.
booleanToBytes(boolean) - Static method in class craterdog.utils.ByteUtils
This function converts a boolean to its corresponding byte array format.
booleanToBytes(boolean, byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts a boolean into its corresponding byte format and inserts it into the specified buffer.
booleanToBytes(boolean, byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts a boolean into its corresponding byte format and inserts it into the specified buffer at the specified index.
bytesToBigDecimal(byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array to its corresponding big decimal value.
bytesToBigDecimal(byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array at the specified index to its corresponding big decimal value.
bytesToBigInteger(byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array to its corresponding big integer value.
bytesToBigInteger(byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array at the specified index to its corresponding big integer value.
bytesToBoolean(byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array to its corresponding boolean value.
bytesToBoolean(byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array at the specified index to its corresponding boolean value.
bytesToDouble(byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array to its corresponding double value.
bytesToDouble(byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array at the specified index to its corresponding double value.
bytesToInt(byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array to its corresponding integer value.
bytesToInt(byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array at the specified index to its corresponding integer value.
bytesToLong(byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array to its corresponding long value.
bytesToLong(byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array at the specified index to its corresponding long value.
bytesToShort(byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array to its corresponding short value.
bytesToShort(byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array at the specified index to its corresponding short value.
bytesToString(byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array to its corresponding string value.
bytesToString(byte[], int, int) - Static method in class craterdog.utils.ByteUtils
This function converts the bytes in a byte array at the specified index to its corresponding string value.
byteToUnsigned(byte) - Static method in class craterdog.utils.ByteUtils
This function converts a byte into its unsigned integer form.
ByteUtils - Class in craterdog.utils
This utility class defines functions that manipulate bytes and byte arrays in useful ways.

C

compare(byte[], byte[]) - Static method in class craterdog.utils.ByteUtils
This function compares two byte arrays for canonical ordering.
compare(T, T) - Method in class craterdog.utils.NaturalComparator
 
copy(byte[]) - Static method in class craterdog.utils.ByteUtils
This function creates a copy of a byte array.
craterdog.utils - package craterdog.utils
 

D

decode(String) - Static method in class craterdog.utils.Base02Utils
This function decodes a base 2 string into its corresponding byte array.
decode(String) - Static method in class craterdog.utils.Base16Utils
This function decodes a base 16 string into its corresponding byte array.
decode(String) - Static method in class craterdog.utils.Base32Utils
This function decodes a base 32 string into its corresponding byte array.
decode(String) - Static method in class craterdog.utils.Base64Utils
This function decodes a base 64 string into its corresponding byte array.
doubleToBytes(double) - Static method in class craterdog.utils.ByteUtils
This function converts a double to its corresponding byte array format.
doubleToBytes(double, byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts a double into its corresponding byte format and inserts it into the specified buffer.
doubleToBytes(double, byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts a double into its corresponding byte format and inserts it into the specified buffer at the specified index.

E

encode(byte[]) - Static method in class craterdog.utils.Base02Utils
This function encodes a byte array using base 2 with no indentation of new lines.
encode(byte[]) - Static method in class craterdog.utils.Base16Utils
This function encodes a byte array using base 16 with no indentation of new lines.
encode(byte[]) - Static method in class craterdog.utils.Base32Utils
This function encodes a byte array using base 32 with no indentation of new lines.
encode(byte[]) - Static method in class craterdog.utils.Base64Utils
This function encodes a byte array using base 64 with no indentation of new lines.
encode(byte[], String) - Static method in class craterdog.utils.Base02Utils
This function encodes a byte array using base 2 with a specific indentation of new lines.
encode(byte[], String) - Static method in class craterdog.utils.Base16Utils
This function encodes a byte array using base 16 with a specific indentation of new lines.
encode(byte[], String) - Static method in class craterdog.utils.Base32Utils
This function encodes a byte array using base 32 with a specific indentation of new lines.
encode(byte[], String) - Static method in class craterdog.utils.Base64Utils
This function encodes a byte array using base 64 with a specific indentation of new lines.
equals(byte[], byte[]) - Static method in class craterdog.utils.ByteUtils
This function compares two byte arrays to see if they are equal.

G

generateRandomBytes(int) - Static method in class craterdog.utils.RandomUtils
This utility method returns a byte array of the specified size containing randomly generated bytes.
generator - Static variable in class craterdog.utils.RandomUtils
 

H

hashCode(byte[]) - Static method in class craterdog.utils.ByteUtils
This function calculates a hash code for the specified byte array.
hashValue(Object) - Method in class craterdog.utils.UniversalHashFunction
This method generates a hash value for the specified object using the universal hash function parameters specified in the constructor.

I

intToBytes(int) - Static method in class craterdog.utils.ByteUtils
This function converts a integer to its corresponding byte array format.
intToBytes(int, byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts a integer into its corresponding byte format and inserts it into the specified buffer.
intToBytes(int, byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts a integer into its corresponding byte format and inserts it into the specified buffer at the specified index.

L

longToBytes(long) - Static method in class craterdog.utils.ByteUtils
This function converts a long to its corresponding byte array format.
longToBytes(long, byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts a long into its corresponding byte format and inserts it into the specified buffer.
longToBytes(long, byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts a long into its corresponding byte format and inserts it into the specified buffer at the specified index.

N

NaturalComparator<T> - Class in craterdog.utils
This class defines a comparator that compares two objects of the same type using their natural compareTo method if the type implements the Comparable interface, or by doing a lexical comparison on their string formats if not.
NaturalComparator() - Constructor for class craterdog.utils.NaturalComparator
 

P

pickRandomGaussian() - Static method in class craterdog.utils.RandomUtils
This utility method returns a Gaussian distributed randomly generated double value.
pickRandomIndex(int) - Static method in class craterdog.utils.RandomUtils
This utility method randomly selects an index from a range of indexes.
pickRandomInt() - Static method in class craterdog.utils.RandomUtils
This utility method returns a randomly generated integer value.
pickRandomProbability() - Static method in class craterdog.utils.RandomUtils
This utility method returns an evenly distributed randomly generated double value.

R

RandomUtils - Class in craterdog.utils
This utility class contains static methods that generate random values for various purposes.

S

shortToBytes(short) - Static method in class craterdog.utils.ByteUtils
This function converts a short to its corresponding byte array format.
shortToBytes(short, byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts a short into its corresponding byte format and inserts it into the specified buffer.
shortToBytes(short, byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts a short into its corresponding byte format and inserts it into the specified buffer at the specified index.
stringToBytes(String) - Static method in class craterdog.utils.ByteUtils
This function converts a string to its corresponding byte array format.
stringToBytes(String, byte[]) - Static method in class craterdog.utils.ByteUtils
This function converts a string into its corresponding byte format and inserts it into the specified buffer.
stringToBytes(String, byte[], int) - Static method in class craterdog.utils.ByteUtils
This function converts a string into its corresponding byte format and inserts it into the specified buffer at the specified index.

U

UniversalHashFunction - Class in craterdog.utils
This class implements the universal hash function algorithm described by Dietzfelbinger, et al, (1997).
UniversalHashFunction() - Constructor for class craterdog.utils.UniversalHashFunction
This constructor creates a new hash function with a hash width equal to the word width.
UniversalHashFunction(int) - Constructor for class craterdog.utils.UniversalHashFunction
This constructor creates a new hash function with the specified hash width.
UniversalHashFunction(int, int, int) - Constructor for class craterdog.utils.UniversalHashFunction
This constructor creates a new hash function with the specified hash width, and random numbers a and b.
B C D E G H I L N P R S U 
All Classes and Interfaces|All Packages