Skip navigation links
B F G I N O S T W 

B

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) BitwiseOperationBuilder.withValue(Integer).
BitwiseOperationBuilderImpl - Class in org.refcodes.numerical.impls
 
BitwiseOperationBuilderImpl() - Constructor for class org.refcodes.numerical.impls.BitwiseOperationBuilderImpl
 

F

fromBase64(String) - Static method in class org.refcodes.numerical.NumericalUtility
Decodes a string "base 64" and returns the according byte array.

G

getValue() - Method in class org.refcodes.numerical.impls.BitwiseOperationBuilderImpl
 

I

isBitwiseMaskable(int, int) - Static method in class org.refcodes.numerical.impls.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.impls.BitwiseOperationBuilderImpl
 
isTrueAt(int) - Method in interface org.refcodes.numerical.BitwiseOperationBuilder
 
isTrueAt(int) - Method in class org.refcodes.numerical.impls.BitwiseOperationBuilderImpl
 
isTrueAt(int, int) - Static method in class org.refcodes.numerical.impls.BitwiseOperationBuilderImpl
Tests whether the bit at the given position is set in the parameter value and returns true if this is the case.

N

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
 
org.refcodes.numerical.impls - package org.refcodes.numerical.impls
 

S

setValue(Integer) - Method in class org.refcodes.numerical.impls.BitwiseOperationBuilderImpl
 
sum(int...) - Static method in class org.refcodes.numerical.NumericalUtility
Calculates the sum from the provided summands.

T

toBase36(long) - Static method in class org.refcodes.numerical.NumericalUtility
Encodes a long value "base 36" and returns the according string.
toBase36(byte[]) - Static method in class org.refcodes.numerical.NumericalUtility
Encodes a byte array "base 36" and returns the according string.
toBase64(long) - Static method in class org.refcodes.numerical.NumericalUtility
Encodes a long value "base 64" and returns the according string.
toBase64(byte[]) - Static method in class org.refcodes.numerical.NumericalUtility
Encodes a byte array "base 64" and returns the according string.
toBitwiseAND(int, int) - Static method in class org.refcodes.numerical.impls.BitwiseOperationBuilderImpl
The result of this method is a contransceiver of the parameters valueA and valueB.
toBitwiseNOT(int) - Static method in class org.refcodes.numerical.impls.BitwiseOperationBuilderImpl
The result of this method is the negation of the given value.
toBitwiseOR(int, int) - Static method in class org.refcodes.numerical.impls.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.impls.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(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.
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.
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.
toUnsignedLong(int) - Static method in class org.refcodes.numerical.NumericalUtility
Converts a signed int to an unsigned long value.

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.impls.BitwiseOperationBuilderImpl
 
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.impls.BitwiseOperationBuilderImpl
 
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.impls.BitwiseOperationBuilderImpl
 
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.impls.BitwiseOperationBuilderImpl
 
B F G I N O S T W 
Skip navigation links

Copyright © 2016. All rights reserved.