A B C D E G H I L M N O P Q R S T U V W 
All Classes All Packages

A

append(byte) - Method in class com.github.toolarium.common.ByteArray
Append a byte
append(byte[]) - Method in class com.github.toolarium.common.ByteArray
Append an array of bytes
append(byte[], int, int) - Method in class com.github.toolarium.common.ByteArray
Append an array of bytes
append(ByteArray) - Method in class com.github.toolarium.common.ByteArray
Append a ByteArray
append(String) - Method in class com.github.toolarium.common.ByteArray
Append a String
append(StringBuffer) - Method in class com.github.toolarium.common.ByteArray
Append a StringBuffer
append(StringBuilder) - Method in class com.github.toolarium.common.ByteArray
Append a StringBuilder
append(ByteBuffer) - Method in class com.github.toolarium.common.ByteArray
Append a buffer

B

BUILD_TIMESTAMP - Static variable in class com.github.toolarium.common.Version
The build timestamp
ByteArray - Class in com.github.toolarium.common
Class used to represent an array of bytes as an Object.
ByteArray() - Constructor for class com.github.toolarium.common.ByteArray
Create a ByteArray with the default size
ByteArray(byte[]) - Constructor for class com.github.toolarium.common.ByteArray
Create a ByteArray from an array of bytes
ByteArray(ByteArray) - Constructor for class com.github.toolarium.common.ByteArray
Copy constructor
ByteArray(String) - Constructor for class com.github.toolarium.common.ByteArray
Create a ByteArray from a String
ByteArray(StringBuffer) - Constructor for class com.github.toolarium.common.ByteArray
Create a ByteArray from a String
ByteArray(StringBuilder) - Constructor for class com.github.toolarium.common.ByteArray
Create a ByteArray from a String
ByteUtil - Class in com.github.toolarium.common.util
Byte utitlity.

C

chisQuare(int, int) - Method in class com.github.toolarium.common.util.RandomGenerator
Method to test the randomness of the random algorithm.
chopLeft() - Method in class com.github.toolarium.common.ByteArray
Chop a byte
chopLeft(int) - Method in class com.github.toolarium.common.ByteArray
Chop some bytes
chopRight() - Method in class com.github.toolarium.common.ByteArray
Chop a byte
chopRight(int) - Method in class com.github.toolarium.common.ByteArray
Chop some bytes
clone() - Method in class com.github.toolarium.common.ByteArray
 
close() - Method in class com.github.toolarium.common.ByteArray
 
com.github.toolarium.common - package com.github.toolarium.common
 
com.github.toolarium.common.util - package com.github.toolarium.common.util
 
combineValidCharacters(char[], char[]) - Static method in class com.github.toolarium.common.util.RandomGenerator
Helper methods to combines two character arrays
COMPONENT_ID - Static variable in class com.github.toolarium.common.Version
The component id
concat(byte) - Method in class com.github.toolarium.common.ByteArray
Concat a given byte and return a new byte array
concat(ByteArray) - Method in class com.github.toolarium.common.ByteArray
Concat a given byte and return a new byte array
copyBlock(byte[], byte[]) - Method in class com.github.toolarium.common.util.ByteUtil
Copies one byte block to another.
copyBlock(byte[], int, byte[], int, int) - Method in class com.github.toolarium.common.util.ByteUtil
Copies the specified byte sequence of the given source array to the specified destination array.
copyBlock(int[], int[]) - Method in class com.github.toolarium.common.util.ByteUtil
Copies one int block to another.
copyBlock(int[], int, int[], int, int) - Method in class com.github.toolarium.common.util.ByteUtil
Copies the specified int sequence of the given source array to the specified destination array.
countEndsWith(ByteArray) - Method in class com.github.toolarium.common.ByteArray
Test how many times the given prefix is contained at the end
countStartsWith(ByteArray) - Method in class com.github.toolarium.common.ByteArray
Test how many times the given prefix is contained at the beginning
CR - Static variable in class com.github.toolarium.common.ByteArray
The cr character as byte array
createByteArray(byte, int) - Static method in class com.github.toolarium.common.ByteArray
Creates a byte array with a simple byte
createByteArray(ByteBuffer) - Static method in class com.github.toolarium.common.ByteArray
Creates a byte array
createByteArrayWithSize(int) - Static method in class com.github.toolarium.common.ByteArray
Creates a byte array with the given size
createGUID() - Method in class com.github.toolarium.common.util.RandomGenerator
Generates a GUID: GUIDs are guaranteed to be globally unique by using ethernet MACs, IP addresses, time elements, and sequential numbers.
createUUID() - Method in class com.github.toolarium.common.util.RandomGenerator
Creates a UUID
crowUpDataSize(int) - Method in class com.github.toolarium.common.ByteArray
Gets the additional size

D

DEFAULT_BLOCK_SIZE - Static variable in class com.github.toolarium.common.ByteArray
Defines the default byte array size
DESCRIPTION - Static variable in class com.github.toolarium.common.Version
The description
DOT - Static variable in class com.github.toolarium.common.ByteArray
The dot character as byte array

E

EMPTY - Static variable in class com.github.toolarium.common.ByteArray
The dot character as byte array
endsWith(byte) - Method in class com.github.toolarium.common.ByteArray
Test if the array ends with the given prefix
endsWith(ByteArray) - Method in class com.github.toolarium.common.ByteArray
Test if the array starts with the given prefix
EnumUtil - Class in com.github.toolarium.common.util
Simple enum utilities.
equals(Object) - Method in class com.github.toolarium.common.ByteArray
Implements the default functionality of the equals method.
equalsBlock(byte[], byte[]) - Method in class com.github.toolarium.common.util.ByteUtil
Check two blocks for equality.
equalsBlock(byte[], int, byte[], int, int) - Method in class com.github.toolarium.common.util.ByteUtil
Check two blocks for equality.
erase() - Method in class com.github.toolarium.common.ByteArray
Erase the byte array

G

get(int) - Method in class com.github.toolarium.common.ByteArray
Return a specific byte from the byte array
getBooleanRandom() - Method in class com.github.toolarium.common.util.RandomGenerator
Returns a random number as a Boolean
getBytes() - Method in class com.github.toolarium.common.ByteArray
Return the bytes as a copy
getBytes(int, int) - Method in class com.github.toolarium.common.ByteArray
Return the bytes as a copy
getDoubleRandom() - Method in class com.github.toolarium.common.util.RandomGenerator
Returns a random number as a Double
getFloatRandom() - Method in class com.github.toolarium.common.util.RandomGenerator
Returns a random number as a Float
getInstance() - Static method in class com.github.toolarium.common.util.ByteUtil
Get the instance
getInstance() - Static method in class com.github.toolarium.common.util.EnumUtil
Get the instance
getInstance() - Static method in class com.github.toolarium.common.util.RandomGenerator
Get the instance
getInstance(SecureRandom) - Static method in class com.github.toolarium.common.util.RandomGenerator
Gets a secure random instance
getIntegerRandom() - Method in class com.github.toolarium.common.util.RandomGenerator
Returns a random number as a Integer
getLongRandom() - Method in class com.github.toolarium.common.util.RandomGenerator
Returns a random number as a Long
getNewDataSize(int) - Method in class com.github.toolarium.common.ByteArray
Gets the new data size
getRandomByteArray(int) - Method in class com.github.toolarium.common.util.RandomGenerator
Returns a random byte array
getRandomDateInFuture(long) - Method in class com.github.toolarium.common.util.RandomGenerator
Get a date in the future
getRandomDateInPast(long) - Method in class com.github.toolarium.common.util.RandomGenerator
Get a date in the future
getRandomDayInFuture(int) - Method in class com.github.toolarium.common.util.RandomGenerator
Get a date in the future
getRandomDayInPast(int) - Method in class com.github.toolarium.common.util.RandomGenerator
Get a date in the future
getRandomNumber(long, boolean) - Method in class com.github.toolarium.common.util.RandomGenerator
Gets a random long number
getRandomString(int) - Method in class com.github.toolarium.common.util.RandomGenerator
Returns a random string
getRandomString(int, char[]) - Method in class com.github.toolarium.common.util.RandomGenerator
Returns a random string
getSecureRandom() - Method in class com.github.toolarium.common.util.RandomGenerator
Returns the secure random instance
getVersion() - Static method in class com.github.toolarium.common.Version
Get the version number
GROUP_ID - Static variable in class com.github.toolarium.common.Version
The group id

H

hashCode() - Method in class com.github.toolarium.common.ByteArray
 

I

indexOf(byte) - Method in class com.github.toolarium.common.ByteArray
Finds a byte in the data
indexOf(byte[], int, int, byte[], int, int, int) - Method in class com.github.toolarium.common.util.ByteUtil
The source is the byte array being searched, and the target is the string being searched for.
indexOf(ByteArray) - Method in class com.github.toolarium.common.ByteArray
Returns the index within this byte array of the first occurrence of the specified substring, starting at the specified index.
indexOf(ByteArray, int) - Method in class com.github.toolarium.common.ByteArray
Returns the index within this byte array of the first occurrence of the specified substring, starting at the specified index.
IS_RELEASE_VERSION - Static variable in class com.github.toolarium.common.Version
Define if it is a release version
isOpen() - Method in class com.github.toolarium.common.ByteArray
 

L

lastIndexOf(byte) - Method in class com.github.toolarium.common.ByteArray
Finds a byte in the data
length() - Method in class com.github.toolarium.common.ByteArray
Return the number of bytes
LICENSE - Static variable in class com.github.toolarium.common.Version
The license
LICENSE_ORGANISATION - Static variable in class com.github.toolarium.common.Version
The license organisation

M

main(String[]) - Static method in class com.github.toolarium.common.Version
Main class to print build / version information
MAJOR_NUMBER - Static variable in class com.github.toolarium.common.Version
The major number
MINOR_NUMBER - Static variable in class com.github.toolarium.common.Version
The minor number

N

nextBytes(int) - Method in class com.github.toolarium.common.util.RandomGenerator
Gets random bytes
NL - Static variable in class com.github.toolarium.common.ByteArray
The new line character as byte array

O

ONE_DAY - Static variable in class com.github.toolarium.common.util.RandomGenerator
The miliseconds of a day

P

PACKAGE - Static variable in class com.github.toolarium.common.Version
The package
PROJECT_NAME - Static variable in class com.github.toolarium.common.Version
The project name
PROJECT_TYPE - Static variable in class com.github.toolarium.common.Version
The project type

Q

QUALIFIER - Static variable in class com.github.toolarium.common.Version
The version qualifier

R

RandomGenerator - Class in com.github.toolarium.common.util
This class implements some helper methods for random numbers.
read(ByteBuffer) - Method in class com.github.toolarium.common.ByteArray
 
replace(byte, byte) - Method in class com.github.toolarium.common.ByteArray
Replaces a given byte with another
replace(ByteArray, ByteArray) - Method in class com.github.toolarium.common.ByteArray
Replaces data in a given byte array.
reverse() - Method in class com.github.toolarium.common.ByteArray
Reverse the internal array
REVISION_NUMBER - Static variable in class com.github.toolarium.common.Version
The revision number

S

SCM_NUMBER - Static variable in class com.github.toolarium.common.Version
The source management number
set(int, byte) - Method in class com.github.toolarium.common.ByteArray
Set a specific byte in the byte array
SPACE - Static variable in class com.github.toolarium.common.ByteArray
The space as byte array
startsWith(byte) - Method in class com.github.toolarium.common.ByteArray
Test if the array starts with the given prefix
startsWith(ByteArray) - Method in class com.github.toolarium.common.ByteArray
Test if the array starts with the given prefix
startsWith(ByteArray, int) - Method in class com.github.toolarium.common.ByteArray
Test if the array starts with the given prefix

T

TAB - Static variable in class com.github.toolarium.common.ByteArray
The tab character as byte array
toByte(char, int) - Method in class com.github.toolarium.common.util.ByteUtil
Convert the given char to an int.
toByteArray(int, int) - Method in class com.github.toolarium.common.ByteArray
Return a sub part of the original bytes
toByteArray(String) - Method in class com.github.toolarium.common.util.ByteUtil
Convert the given string with hex values to a byte array.
toByteBuffer() - Method in class com.github.toolarium.common.ByteArray
Return a byte buffer of the data
toBytes() - Method in class com.github.toolarium.common.ByteArray
Return the bytes as a copy of the original
toBytes(byte[], int) - Method in class com.github.toolarium.common.util.ByteUtil
Prepare a byte array to a byte array of a defined size
toBytes(int) - Method in class com.github.toolarium.common.util.ByteUtil
Convert an integer value to a 4 byte array
toBytes(long) - Method in class com.github.toolarium.common.util.ByteUtil
Convert from a long value to a 8 byte array
toHex() - Method in class com.github.toolarium.common.ByteArray
Convert to hex string
toInteger(byte[]) - Method in class com.github.toolarium.common.util.ByteUtil
Build an integer from first 4 bytes of the array.
toInteger(ByteArray) - Method in class com.github.toolarium.common.util.ByteUtil
Build an integer from first 4 bytes of the array.
toLong() - Method in class com.github.toolarium.common.ByteArray
Build a long from the array.
toLong(byte[]) - Method in class com.github.toolarium.common.util.ByteUtil
Build a long from first 8 bytes of the array.
toLong(ByteArray) - Method in class com.github.toolarium.common.util.ByteUtil
Build a long from first 8 bytes of the array.
toString() - Method in class com.github.toolarium.common.ByteArray
Convert to String
trim(byte) - Method in class com.github.toolarium.common.ByteArray
Trims the data with the given byte
trimLeft(byte) - Method in class com.github.toolarium.common.ByteArray
Trims the data left with the given byte
trimRight(byte) - Method in class com.github.toolarium.common.ByteArray
Trims the data right with the given byte

U

URL - Static variable in class com.github.toolarium.common.Version
The url of the project

V

validLetterCharacters - Static variable in class com.github.toolarium.common.util.RandomGenerator
Defines valid letter characters
validLowerCaseLetterCharacters - Static variable in class com.github.toolarium.common.util.RandomGenerator
Defines valid lower case letter characters
validNumberCharacters - Static variable in class com.github.toolarium.common.util.RandomGenerator
Defines valid number characters
validNumberLetterCharacters - Static variable in class com.github.toolarium.common.util.RandomGenerator
Defines valid number and letter characters
validUpperCaseLetterCharacters - Static variable in class com.github.toolarium.common.util.RandomGenerator
Defines valid upper case letter characters
valueOf(Class<T>, String) - Method in class com.github.toolarium.common.util.EnumUtil
Returns the enum constant of the specified enum type with the specified name.
Version - Class in com.github.toolarium.common
The version class
Version() - Constructor for class com.github.toolarium.common.Version
 
VERSION - Static variable in class com.github.toolarium.common.Version
The full version number

W

write(ByteBuffer) - Method in class com.github.toolarium.common.ByteArray
 
A B C D E G H I L M N O P Q R S T U V W 
All Classes All Packages