B G I N O P S T V W
B
- BaseConverterBuilder - Interface in org.refcodes.numerical
-
A number base converter from and to long values and which may also convert to and from byte arrays.
- BaseConverterBuilderImpl - Class in org.refcodes.numerical
-
This is a hacky implementation of the
BaseConverterBuilder
interface breaking with anIllegalArgumentException
in case the numbers to be converted are too large for the algorithm. - BaseConverterBuilderImpl() - Constructor for class org.refcodes.numerical.BaseConverterBuilderImpl
-
Instantiates a new base converter builder impl.
- BitwiseOperationBuilder - Interface in org.refcodes.numerical
-
The bitwise operation builder applies bitwise operations to a given value being set via
setValue(Integer)
or (as of the Builder-Pattern)withValue(Integer)
. - BitwiseOperationBuilderImpl - Class in org.refcodes.numerical
-
The Class BitwiseOperationBuilderImpl.
- BitwiseOperationBuilderImpl() - Constructor for class org.refcodes.numerical.BitwiseOperationBuilderImpl
G
- getCharSet() - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
- getNumber() - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Retrieves the number from the number property.
- getNumber() - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Retrieves the number from the number property.
- getNumberBase() - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Retrieves the value from the number base property.
- getNumberBase() - Method in interface org.refcodes.numerical.NumberBaseAccessor
-
Retrieves the value from the number base property.
- getNumberBaseValue() - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Retrieves the number base value from the number base value property.
- getNumberBaseValue() - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Retrieves the number base value from the number base value property.
- getNumberData() - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Retrieves the number from the number property.
- getNumberData() - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Retrieves the number from the number property.
- getPaddingChar() - Method in interface org.refcodes.numerical.PaddingCharAccessor
-
Retrieves the value from the padding char property.
- getValue() - Method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
I
- isBitwiseMaskable(int, int) - Static method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
Tests if the bits set in the parameter mask are also set in the parameter value.
- isMaskable(Integer) - Method in interface org.refcodes.numerical.BitwiseOperationBuilder
-
Tests if the bits set in the mask argument are also set in the value property ("the value property is maskable with the given mask").
- isMaskable(Integer) - Method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
Tests if the bits set in the mask argument are also set in the value property ("the value property is maskable with the given mask").
- isTrueAt(int) - Method in interface org.refcodes.numerical.BitwiseOperationBuilder
-
Checks if is true at.
- isTrueAt(int) - Method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
Checks if is true at.
- isTrueAt(int, int) - Static method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
Tests whether the bit at the given position is set in the parameter value and returns true if this is the case.
N
- NumberBase - Enum in org.refcodes.numerical
-
The Enum NumberBase.
- NumberBaseAccessor - Interface in org.refcodes.numerical
-
Provides an accessor for a number base property.
- NumberBaseAccessor.NumberBaseBuilder<B extends NumberBaseAccessor.NumberBaseBuilder<B>> - Interface in org.refcodes.numerical
-
Provides a builder method for a number base property returning the builder for applying multiple build operations.
- NumberBaseAccessor.NumberBaseMutator - Interface in org.refcodes.numerical
-
Provides a mutator for a number base property.
- NumberBaseAccessor.NumberBaseProperty - Interface in org.refcodes.numerical
-
Provides a number base property.
- NumericalUtility - Class in org.refcodes.numerical
-
This class contains some useful static methods for working with bitwise operations objects.
O
- org.refcodes.numerical - package org.refcodes.numerical
-
This package contains numerical related interfaces representing the types defined by this artifact.
P
- PaddingCharAccessor - Interface in org.refcodes.numerical
-
Provides an accessor for a padding char property.
- PaddingCharAccessor.PaddingCharBuilder<B extends PaddingCharAccessor.PaddingCharBuilder<B>> - Interface in org.refcodes.numerical
-
Provides a builder method for a padding char property returning the builder for applying multiple build operations.
- PaddingCharAccessor.PaddingCharMutator - Interface in org.refcodes.numerical
-
Provides a mutator for a padding char property.
- PaddingCharAccessor.PaddingCharProperty - Interface in org.refcodes.numerical
-
Provides a padding char property.
S
- setCharSet(char[]) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
- setNumber(long) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Sets the number for the number property.
- setNumber(long) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Sets the number for the number property.
- setNumberBase(int) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Sets the value for the number base property.
- setNumberBase(int) - Method in interface org.refcodes.numerical.NumberBaseAccessor.NumberBaseMutator
-
Sets the value for the number base property.
- setNumberBaseValue(String) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Sets the number base value for the number base value property.
- setNumberBaseValue(String) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Sets the number base value for the number base value property.
- setNumberData(byte[]) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Sets the number for the number property.
- setNumberData(byte[]) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Sets the number for the number property.
- setPaddingChar(char) - Method in interface org.refcodes.numerical.PaddingCharAccessor.PaddingCharMutator
-
Sets the value for the padding char property.
- setValue(Integer) - Method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
- sum(int...) - Static method in class org.refcodes.numerical.NumericalUtility
-
Calculates the sum from the provided summands.
T
- toBitwiseAND(int, int) - Static method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
The result of this method is a contransceiver of the parameters valueA and valueB.
- toBitwiseNOT(int) - Static method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
The result of this method is the negation of the given value.
- toBitwiseOR(int, int) - Static method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
The result of this method is a distransceiver of the parameters valueA and valueB.
- toBitwiseXOR(int, int) - Static method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
The result of this method is an exclusive distransceiver of the parameters valueA and valueB.
- toBoolean(String) - Static method in class org.refcodes.numerical.NumericalUtility
-
Converts the given String to a boolean value.
- toBytes(int) - Static method in class org.refcodes.numerical.NumericalUtility
-
Converts a integer value to an array of bytes, left byte being the most significant one (highest order).
- toBytes(long) - Static method in class org.refcodes.numerical.NumericalUtility
-
Converts a long value to an array of bytes, left byte being the most significant one (highest order).
- toBytes(Double) - Static method in class org.refcodes.numerical.NumericalUtility
-
Converts a double value to an array of bytes, left(?)
- toDouble(String) - Static method in class org.refcodes.numerical.NumericalUtility
-
Creates a double between 0 and 1 from a
String
; useful e.g. when creating a number from a pass-phrase. - toDoubles(String, int) - Static method in class org.refcodes.numerical.NumericalUtility
-
Creates an array with double values between 0 and 1 from a
String
; useful e.g. when creating a bunch of numbers from a pass-phrase. - toHashCode(Object...) - Static method in class org.refcodes.numerical.NumericalUtility
-
Calculates a hash code from the given object's hash codes.
- toHashCode(String) - Static method in class org.refcodes.numerical.NumericalUtility
-
Calculates a Java-Version's implementation independent Hash-Code.
- toHashCodes(String, int) - Static method in class org.refcodes.numerical.NumericalUtility
-
Creates a given number of IDs from the provided source text.
- toInteger(byte[]) - Static method in class org.refcodes.numerical.NumericalUtility
-
To integer.
- toInteger(byte[], int) - Static method in class org.refcodes.numerical.NumericalUtility
-
To integer.
- toLong(byte[]) - Static method in class org.refcodes.numerical.NumericalUtility
-
To long.
- toLong(byte[], int) - Static method in class org.refcodes.numerical.NumericalUtility
-
To long.
- toLong(String) - Static method in class org.refcodes.numerical.NumericalUtility
-
Creates a long from a
String
; useful e.g. when creating a number from a pass-phrase. - toMd5Hash(String) - Static method in class org.refcodes.numerical.NumericalUtility
-
Generates a md5 hash of the given text.
- toNumber(String) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Retrieves the number calculated from the provided number base value.
- toNumber(String) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Retrieves the number calculated from the provided number base value.
- toNumberBaseValue(byte[]) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Retrieves the number base value calculated from the number.
- toNumberBaseValue(byte[]) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Retrieves the number base value calculated from the number.
- toNumberBaseValue(long) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Retrieves the number base value calculated from the number.
- toNumberBaseValue(long) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Retrieves the number base value calculated from the number.
- toNumberData(String) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Retrieves the number calculated from the provided number base value.
- toNumberData(String) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
Retrieves the number calculated from the provided number base value.
- toScaled(double, double, double) - Static method in class org.refcodes.numerical.NumericalUtility
-
Scales the given value (which must be between 0 .. 1 to be between aMin .. aMax.
- toShorts(byte[]) - Static method in class org.refcodes.numerical.NumericalUtility
-
Converts a byte array to a short array.
- toUnsignedLong(int) - Static method in class org.refcodes.numerical.NumericalUtility
-
Converts a signed int to an unsigned long value.
- toVerboseString(byte[]) - Static method in class org.refcodes.numerical.BaseConverterBuilderImpl
-
TODO: This helper is required to help making the code break when it reaches its bad implementations.
V
- valueOf(String) - Static method in enum org.refcodes.numerical.NumberBase
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.refcodes.numerical.NumberBase
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withAnd(Integer) - Method in interface org.refcodes.numerical.BitwiseOperationBuilder
-
Applies a bitwise AND operation to the value property with the given operand; the value is updated accordingly and the result can be retrieved with the
ValueAccessor.getValue()
method. - withAnd(Integer) - Method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
Applies a bitwise AND operation to the value property with the given operand; the value is updated accordingly and the result can be retrieved with the
ValueAccessor.getValue()
method. - withCharSet(char[]) - Method in class org.refcodes.numerical.BaseConverterBuilderImpl
- withNot() - Method in interface org.refcodes.numerical.BitwiseOperationBuilder
-
Applies a bitwise NOT operation to the value property ; the value is updated accordingly and the result can be retrieved with the
ValueAccessor.getValue()
method. - withNot() - Method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
Applies a bitwise NOT operation to the value property ; the value is updated accordingly and the result can be retrieved with the
ValueAccessor.getValue()
method. - withNumber(long) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Sets the number for the number property.
- withNumberBase(int) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Sets the number base for the number base property.
- withNumberBase(int) - Method in interface org.refcodes.numerical.NumberBaseAccessor.NumberBaseBuilder
-
Sets the value for the number base property.
- withNumberBaseValue(String) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Sets the number base value for the number base value property.
- withNumberData(byte[]) - Method in interface org.refcodes.numerical.BaseConverterBuilder
-
Sets the number for the number property.
- withOr(Integer) - Method in interface org.refcodes.numerical.BitwiseOperationBuilder
-
Applies a bitwise OR operation to the value property with the given operand; the value is updated accordingly and the result can be retrieved with the
ValueAccessor.getValue()
method. - withOr(Integer) - Method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
Applies a bitwise OR operation to the value property with the given operand; the value is updated accordingly and the result can be retrieved with the
ValueAccessor.getValue()
method. - withPaddingChar(char) - Method in interface org.refcodes.numerical.PaddingCharAccessor.PaddingCharBuilder
-
Sets the value for the padding char property.
- withValue(Integer) - Method in interface org.refcodes.numerical.BitwiseOperationBuilder
- withXor(Integer) - Method in interface org.refcodes.numerical.BitwiseOperationBuilder
-
Applies a bitwise XOR operation to the value property with the given operand; the value is updated accordingly and the result can be retrieved with the
ValueAccessor.getValue()
method. - withXor(Integer) - Method in class org.refcodes.numerical.BitwiseOperationBuilderImpl
-
Applies a bitwise XOR operation to the value property with the given operand; the value is updated accordingly and the result can be retrieved with the
ValueAccessor.getValue()
method.