Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- acos(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arccosine in radians; less accurate than Math.acos but may be faster.
- acosDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arccosine in degrees.
- acosTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arccosine in turns.
- agares - Static variable in class com.github.tommyettinger.digital.Hasher
- agares_ - Static variable in class com.github.tommyettinger.digital.Hasher
- aim - Static variable in class com.github.tommyettinger.digital.Hasher
- aim_ - Static variable in class com.github.tommyettinger.digital.Hasher
- alloces - Static variable in class com.github.tommyettinger.digital.Hasher
- alloces_ - Static variable in class com.github.tommyettinger.digital.Hasher
- alpha - Static variable in class com.github.tommyettinger.digital.Hasher
- alpha_ - Static variable in class com.github.tommyettinger.digital.Hasher
- amdusias - Static variable in class com.github.tommyettinger.digital.Hasher
- amdusias_ - Static variable in class com.github.tommyettinger.digital.Hasher
- amon - Static variable in class com.github.tommyettinger.digital.Hasher
- amon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- amy - Static variable in class com.github.tommyettinger.digital.Hasher
- amy_ - Static variable in class com.github.tommyettinger.digital.Hasher
- andras - Static variable in class com.github.tommyettinger.digital.Hasher
- andras_ - Static variable in class com.github.tommyettinger.digital.Hasher
- andrealphus - Static variable in class com.github.tommyettinger.digital.Hasher
- andrealphus_ - Static variable in class com.github.tommyettinger.digital.Hasher
- andromalius - Static variable in class com.github.tommyettinger.digital.Hasher
- andromalius_ - Static variable in class com.github.tommyettinger.digital.Hasher
- appendJoined(StringBuilder, String, byte[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a byte array, a delimiter to separate the items of that array, and a StringBuilder to append to, appends to the StringBuilder all bytes from elements, in this Base, separated by delimiter.
- appendJoined(StringBuilder, String, char[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a char array, a delimiter to separate the items of that array, and a StringBuilder to append to, appends to the StringBuilder all chars (as numbers) from elements, in this Base, separated by delimiter.
- appendJoined(StringBuilder, String, double[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a double array, a delimiter to separate the items of that array, and a StringBuilder to append to, appends to the StringBuilder all doubles from elements, in this Base, separated by delimiter.
- appendJoined(StringBuilder, String, float[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a float array, a delimiter to separate the items of that array, and a StringBuilder to append to, appends to the StringBuilder all floats from elements, in this Base, separated by delimiter.
- appendJoined(StringBuilder, String, int[]) - Method in class com.github.tommyettinger.digital.Base
-
Given an int array, a delimiter to separate the items of that array, and a StringBuilder to append to, appends to the StringBuilder all ints from elements, in this Base, separated by delimiter.
- appendJoined(StringBuilder, String, long[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a long array, a delimiter to separate the items of that array, and a StringBuilder to append to, appends to the StringBuilder all longs from elements, in this Base, separated by delimiter.
- appendJoined(StringBuilder, String, short[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a short array, a delimiter to separate the items of that array, and a StringBuilder to append to, appends to the StringBuilder all shorts from elements, in this Base, separated by delimiter.
- appendJoined2D(StringBuilder, String, String, byte[][]) - Method in class com.github.tommyettinger.digital.Base
-
Given a byte 2D array, a major delimiter to separate the inner arrays, a minor delimiter to separate the items in each inner array, and a StringBuilder to append to, appends to the StringBuilder all bytes from elements, in this Base, separated by minor delimiter and then by major delimiter.
- appendJoined2D(StringBuilder, String, String, char[][]) - Method in class com.github.tommyettinger.digital.Base
-
Given a char 2D array, a major delimiter to separate the inner arrays, a minor delimiter to separate the items in each inner array, and a StringBuilder to append to, appends to the StringBuilder all chars from elements, in this Base, separated by minor delimiter and then by major delimiter.
- appendJoined2D(StringBuilder, String, String, double[][]) - Method in class com.github.tommyettinger.digital.Base
-
Given a double 2D array, a major delimiter to separate the inner arrays, a minor delimiter to separate the items in each inner array, and a StringBuilder to append to, appends to the StringBuilder all doubles from elements, in this Base, separated by minor delimiter and then by major delimiter.
- appendJoined2D(StringBuilder, String, String, float[][]) - Method in class com.github.tommyettinger.digital.Base
-
Given a float 2D array, a major delimiter to separate the inner arrays, a minor delimiter to separate the items in each inner array, and a StringBuilder to append to, appends to the StringBuilder all floats from elements, in this Base, separated by minor delimiter and then by major delimiter.
- appendJoined2D(StringBuilder, String, String, int[][]) - Method in class com.github.tommyettinger.digital.Base
-
Given an int 2D array, a major delimiter to separate the inner arrays, a minor delimiter to separate the items in each inner array, and a StringBuilder to append to, appends to the StringBuilder all ints from elements, in this Base, separated by minor delimiter and then by major delimiter.
- appendJoined2D(StringBuilder, String, String, long[][]) - Method in class com.github.tommyettinger.digital.Base
-
Given a long 2D array, a major delimiter to separate the inner arrays, a minor delimiter to separate the items in each inner array, and a StringBuilder to append to, appends to the StringBuilder all longs from elements, in this Base, separated by minor delimiter and then by major delimiter.
- appendJoined2D(StringBuilder, String, String, short[][]) - Method in class com.github.tommyettinger.digital.Base
-
Given a short 2D array, a major delimiter to separate the inner arrays, a minor delimiter to separate the items in each inner array, and a StringBuilder to append to, appends to the StringBuilder all shorts from elements, in this Base, separated by minor delimiter and then by major delimiter.
- appendSigned(StringBuilder, byte) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, appending the result tobuilder
. - appendSigned(StringBuilder, char) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, appending the result tobuilder
. - appendSigned(StringBuilder, double) - Method in class com.github.tommyettinger.digital.Base
-
Converts the bits of the given
number
to this Base as signed, appending the result tobuilder
. - appendSigned(StringBuilder, float) - Method in class com.github.tommyettinger.digital.Base
-
Converts the bits of the given
number
to this Base as signed, appending the result tobuilder
. - appendSigned(StringBuilder, int) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, appending the result tobuilder
. - appendSigned(StringBuilder, long) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, appending the result tobuilder
. - appendSigned(StringBuilder, short) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, appending the result tobuilder
. - appendUnsigned(StringBuilder, byte) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, appending the result tobuilder
. - appendUnsigned(StringBuilder, char) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, appending the result tobuilder
. - appendUnsigned(StringBuilder, double) - Method in class com.github.tommyettinger.digital.Base
-
Converts the bits of the given
number
to this Base as unsigned, appending the result tobuilder
. - appendUnsigned(StringBuilder, float) - Method in class com.github.tommyettinger.digital.Base
-
Converts the bits of the given
number
to this Base as unsigned, appending the result tobuilder
. - appendUnsigned(StringBuilder, int) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, appending the result tobuilder
. - appendUnsigned(StringBuilder, long) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, appending the result tobuilder
. - appendUnsigned(StringBuilder, short) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, appending the result tobuilder
. - ArrayTools - Class in com.github.tommyettinger.digital
-
Static methods for various frequently-used operations on 1D and 2D arrays.
- asin(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arcsine in radians; less accurate than Math.asin but may be faster.
- asinDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arcsine in degrees.
- asinTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arcsine in turns.
- asmoday - Static variable in class com.github.tommyettinger.digital.Hasher
- asmoday_ - Static variable in class com.github.tommyettinger.digital.Hasher
- astaroth - Static variable in class com.github.tommyettinger.digital.Hasher
- astaroth_ - Static variable in class com.github.tommyettinger.digital.Hasher
- atan(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Arc tangent approximation with very low error, using an algorithm from the 1955 research study "Approximations for Digital Computers," by RAND Corporation (this is sheet 11's algorithm, which is the fourth-fastest and fourth-least precise).
- atan2(float, float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using radians.
- atan2Deg(float, float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using positive or negative degrees.
- atan2Deg360(float, float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using non-negative degrees only.
- atan2Turns(float, float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using non-negative turns only.
- atanDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Arc tangent approximation returning a value measured in positive or negative degrees, using an algorithm from the 1955 research study "Approximations for Digital Computers," by RAND Corporation (this is sheet 11's algorithm, which is the fourth-fastest and fourth-least precise).
- atanTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Arc tangent approximation with very low error, using an algorithm from the 1955 research study "Approximations for Digital Computers," by RAND Corporation (this is sheet 11's algorithm, which is the fourth-fastest and fourth-least precise).
- atanUnchecked(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A variant on
atan(float)
that does not tolerate infinite inputs for speed reasons. - atanUncheckedDeg(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A variant on
atanDeg(float)
that does not tolerate infinite inputs for speed reasons. - atanUncheckedTurns(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A variant on
atanTurns(float)
that does not tolerate infinite inputs for speed reasons.
B
- b0 - Static variable in class com.github.tommyettinger.digital.Hasher
-
Big constant 0.
- b1 - Static variable in class com.github.tommyettinger.digital.Hasher
-
Big constant 1.
- b2 - Static variable in class com.github.tommyettinger.digital.Hasher
-
Big constant 2.
- b3 - Static variable in class com.github.tommyettinger.digital.Hasher
-
Big constant 3.
- b4 - Static variable in class com.github.tommyettinger.digital.Hasher
-
Big constant 4.
- b5 - Static variable in class com.github.tommyettinger.digital.Hasher
-
Big constant 5.
- baal - Static variable in class com.github.tommyettinger.digital.Hasher
- baal_ - Static variable in class com.github.tommyettinger.digital.Hasher
- balam - Static variable in class com.github.tommyettinger.digital.Hasher
- balam_ - Static variable in class com.github.tommyettinger.digital.Hasher
- barbatos - Static variable in class com.github.tommyettinger.digital.Hasher
- barbatos_ - Static variable in class com.github.tommyettinger.digital.Hasher
- barronSpline(double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
A generalization on bias and gain functions that can represent both; this version is branch-less.
- barronSpline(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
A generalization on bias and gain functions that can represent both; this version is branch-less.
- base - Variable in class com.github.tommyettinger.digital.Base
-
What base or radix this uses; if you use
Base.unsigned(int)
, then base must be an even number. - Base - Class in com.github.tommyettinger.digital
-
Provides ways to encode digits in different base systems, or radixes, and decode numbers written in those bases.
- Base(Base) - Constructor for class com.github.tommyettinger.digital.Base
-
An unlikely-to-be-used copy constructor.
- Base(String) - Constructor for class com.github.tommyettinger.digital.Base
-
Constructs a Base with the given digits, ordered from smallest to largest, with any letters in the digits treated as case-insensitive, and the normal sign characters '+' and '-'.
- Base(String, boolean, char, char, char) - Constructor for class com.github.tommyettinger.digital.Base
-
Constructs a base with the given digits, ordered from smallest to largest, specified treatment for case, and specified padding char (currently unused other than to provide a separator), positive sign, and negative sign.
- BASE10 - Static variable in class com.github.tommyettinger.digital.Base
-
Decimal, using the digits 0-9.
- BASE16 - Static variable in class com.github.tommyettinger.digital.Base
-
Hexadecimal, using the digits 0-9 and then A-F (case-insensitive).
- BASE2 - Static variable in class com.github.tommyettinger.digital.Base
-
Binary, using the digits 0 and 1.
- BASE36 - Static variable in class com.github.tommyettinger.digital.Base
-
Hexatrigesimal, using the digits 0-9 and then A-Z (case-insensitive).
- BASE64 - Static variable in class com.github.tommyettinger.digital.Base
-
One of three base-64 schemes available here, this is the more-standard one, using the digits A-Z, then a-z, then 0-9, then + and / (case-sensitive).
- BASE8 - Static variable in class com.github.tommyettinger.digital.Base
-
Octal, using the digits 0-7.
- BASE86 - Static variable in class com.github.tommyettinger.digital.Base
-
The largest base here, this uses digits 0-9 first, then A-Z, then a-z, them many punctuation characters:
`~!@#$%^&*()[]{}<>.?;|_=
. - bathin - Static variable in class com.github.tommyettinger.digital.Hasher
- bathin_ - Static variable in class com.github.tommyettinger.digital.Hasher
- beleth - Static variable in class com.github.tommyettinger.digital.Hasher
- beleth_ - Static variable in class com.github.tommyettinger.digital.Hasher
- belial - Static variable in class com.github.tommyettinger.digital.Hasher
- belial_ - Static variable in class com.github.tommyettinger.digital.Hasher
- berith - Static variable in class com.github.tommyettinger.digital.Hasher
- berith_ - Static variable in class com.github.tommyettinger.digital.Hasher
- beta - Static variable in class com.github.tommyettinger.digital.Hasher
- beta_ - Static variable in class com.github.tommyettinger.digital.Hasher
- bifrons - Static variable in class com.github.tommyettinger.digital.Hasher
- bifrons_ - Static variable in class com.github.tommyettinger.digital.Hasher
- BitConversion - Class in com.github.tommyettinger.digital
-
Methods for converting floats to and from ints, as well as doubles to and from longs and ints.
- BitConversion() - Constructor for class com.github.tommyettinger.digital.BitConversion
- botis - Static variable in class com.github.tommyettinger.digital.Hasher
- botis_ - Static variable in class com.github.tommyettinger.digital.Hasher
- buer - Static variable in class com.github.tommyettinger.digital.Hasher
- buer_ - Static variable in class com.github.tommyettinger.digital.Hasher
- bune - Static variable in class com.github.tommyettinger.digital.Hasher
- bune_ - Static variable in class com.github.tommyettinger.digital.Hasher
- byteSplit(String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a byte array.
- byteSplit(String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a byte array.
- byteSplit2D(String, String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D byte array.
- byteSplit2D(String, String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D byte array.
C
- caim - Static variable in class com.github.tommyettinger.digital.Hasher
- caim_ - Static variable in class com.github.tommyettinger.digital.Hasher
- caseInsensitive - Variable in class com.github.tommyettinger.digital.Base
-
Will be true if this base system treats upper- and lower-case letters present in the encoding as the same.
- cbrt(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
An approximation of the cube-root function for float inputs and outputs.
- ceil(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the smallest integer greater than or equal to the specified float.
- ceilPositive(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the smallest integer greater than or equal to the specified float.
- charSpan(char, char) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Stupidly simple convenience method that produces a char range from start to end, including end, as a char array.
- charSplit(String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a char array.
- charSplit(String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a char array.
- charSplit2D(String, String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D char array.
- charSplit2D(String, String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D char array.
- chi - Static variable in class com.github.tommyettinger.digital.Hasher
- chi_ - Static variable in class com.github.tommyettinger.digital.Hasher
- clamp(double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
If the specified value is not greater than or equal to the specified minimum and less than or equal to the specified maximum, adjust it so that it is.
- clamp(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
If the specified value is not greater than or equal to the specified minimum and less than or equal to the specified maximum, adjust it so that it is.
- clamp(int, int, int) - Static method in class com.github.tommyettinger.digital.MathTools
-
If the specified value is not greater than or equal to the specified minimum and less than or equal to the specified maximum, adjust it so that it is.
- clamp(long, long, long) - Static method in class com.github.tommyettinger.digital.MathTools
-
If the specified value is not greater than or equal to the specified minimum and less than or equal to the specified maximum, adjust it so that it is.
- com.github.tommyettinger.digital - package com.github.tommyettinger.digital
- copy(boolean[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets a copy of the 2D boolean array, source, that has the same data but shares no references with source.
- copy(char[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets a copy of the 2D char array, source, that has the same data but shares no references with source.
- copy(double[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets a copy of the 2D double array, source, that has the same data but shares no references with source.
- copy(float[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets a copy of the 2D float array, source, that has the same data but shares no references with source.
- copy(int[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets a copy of the 2D int array, source, that has the same data but shares no references with source.
- cos(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the cosine in radians from a lookup table.
- cosDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the cosine in degrees from a lookup table.
- cosTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the cosine in turns from a lookup table.
- count(String, String, int, int) - Static method in class com.github.tommyettinger.digital.Base
-
Scans repeatedly in
source
(only using the area from startIndex, inclusive, to endIndex, exclusive) for the Stringsearch
, not scanning the same char twice except as part of a larger String, and returns the number of instances of search that were found, or 0 if source or search is null or if the searched area is empty. - crocell - Static variable in class com.github.tommyettinger.digital.Hasher
- crocell_ - Static variable in class com.github.tommyettinger.digital.Hasher
D
- dantalion - Static variable in class com.github.tommyettinger.digital.Hasher
- dantalion_ - Static variable in class com.github.tommyettinger.digital.Hasher
- decarabia - Static variable in class com.github.tommyettinger.digital.Hasher
- decarabia_ - Static variable in class com.github.tommyettinger.digital.Hasher
- degreesToRadians - Static variable in class com.github.tommyettinger.digital.TrigTools
-
Multiply by this to convert from degrees to radians.
- delta - Static variable in class com.github.tommyettinger.digital.Hasher
- delta_ - Static variable in class com.github.tommyettinger.digital.Hasher
- deserializeFromString(String) - Static method in class com.github.tommyettinger.digital.Base
-
Given a String of a serialized Base (almost always produced by
Base.serializeToString()
), this re-creates that Base and returns it. - doubleSplit(String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a double array.
- doubleSplit(String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a double array.
- doubleSplit2D(String, String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D double array.
- doubleSplit2D(String, String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D double array.
- doubleToHighIntBits(double) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Converts the bits of
value
to a long and gets the upper 32 bits of that long, as an int. - doubleToLongBits(double) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Identical to
Double.doubleToLongBits(double)
on desktop; optimized on GWT. - doubleToLowIntBits(double) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Converts the bits of
value
to a long and gets the lower 32 bits of that long, as an int. - doubleToMixedIntBits(double) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Converts the bits of
value
to a long and gets the XOR of its upper and lower 32-bit sections. - doubleToRawLongBits(double) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Identical to
Double.doubleToRawLongBits(double)
on desktop; optimized on GWT.
E
- E - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
float
value that is closer than any other to e, the base of the natural logarithms. - eligos - Static variable in class com.github.tommyettinger.digital.Hasher
- eligos_ - Static variable in class com.github.tommyettinger.digital.Hasher
- epsilon - Static variable in class com.github.tommyettinger.digital.Hasher
- epsilon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- equals(Object) - Method in class com.github.tommyettinger.digital.Base
- eta - Static variable in class com.github.tommyettinger.digital.Hasher
- eta_ - Static variable in class com.github.tommyettinger.digital.Hasher
F
- fastCeil(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.ceil(double)
, but returns an int. - fastCeil(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.ceil(double)
, but takes a float and returns an int. - fastFloor(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.floor(double)
, but returns an int. - fastFloor(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.floor(double)
, but takes a float and returns an int. - fill(boolean[][], boolean) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array2d
withvalue
. - fill(boolean[][], boolean, int, int, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills a sub-section of
array2d
withvalue
, with the section defined by start/end x/y. - fill(boolean, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill(byte[][], byte) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array2d
withvalue
. - fill(byte, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill(char[][], char) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array2d
withvalue
. - fill(char[][], char, int, int, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills a sub-section of
array2d
withvalue
, with the section defined by start/end x/y. - fill(char, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill(double[][][], double) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
withvalue
. - fill(double[][], double) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array2d
withvalue
. - fill(double[][], double, int, int, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills a sub-section of
array2d
withvalue
, with the section defined by start/end x/y. - fill(double, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill(float[][], float) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array2d
withvalue
. - fill(float[][], float, int, int, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills a sub-section of
array2d
withvalue
, with the section defined by start/end x/y. - fill(float, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill(int[][], int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array2d
withvalue
. - fill(int[][], int, int, int, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills a sub-section of
array2d
withvalue
, with the section defined by start/end x/y. - fill(int, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- fill(long[][], long) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array2d
withvalue
. - fill(long[][], long, int, int, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills a sub-section of
array2d
withvalue
, with the section defined by start/end x/y. - fill(long, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Creates a 2D array of the given width and height, filled with entirely with the value contents.
- flauros - Static variable in class com.github.tommyettinger.digital.Hasher
- flauros_ - Static variable in class com.github.tommyettinger.digital.Hasher
- FLOAT_ROUNDING_ERROR - Static variable in class com.github.tommyettinger.digital.MathTools
-
A float that is meant to be used as the smallest reasonable tolerance for methods like
MathTools.isEqual(float, float, float)
. - floatSplit(String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a float array.
- floatSplit(String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a float array.
- floatSplit2D(String, String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D float array.
- floatSplit2D(String, String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D float array.
- floatToIntBits(float) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Identical to
Float.floatToIntBits(float)
on desktop; optimized on GWT. - floatToRawIntBits(float) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Identical to
Float.floatToRawIntBits(float)
on desktop; optimized on GWT. - floatToReversedIntBits(float) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Gets the bit representation of the given float
value
, but with reversed byte order. - floor(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the largest integer less than or equal to the specified float.
- floorPositive(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the largest integer less than or equal to the specified float.
- focalor - Static variable in class com.github.tommyettinger.digital.Hasher
- focalor_ - Static variable in class com.github.tommyettinger.digital.Hasher
- foras - Static variable in class com.github.tommyettinger.digital.Hasher
- foras_ - Static variable in class com.github.tommyettinger.digital.Hasher
- forneus - Static variable in class com.github.tommyettinger.digital.Hasher
- forneus_ - Static variable in class com.github.tommyettinger.digital.Hasher
- fromEncoded - Variable in class com.github.tommyettinger.digital.Base
-
An array of the digit values corresponding to different ASCII codepoints, with -1 used for codepoints that do not correspond to any digit in this base.
- furcas - Static variable in class com.github.tommyettinger.digital.Hasher
- furcas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- furfur - Static variable in class com.github.tommyettinger.digital.Hasher
- furfur_ - Static variable in class com.github.tommyettinger.digital.Hasher
G
- gaap - Static variable in class com.github.tommyettinger.digital.Hasher
- gaap_ - Static variable in class com.github.tommyettinger.digital.Hasher
- gamma - Static variable in class com.github.tommyettinger.digital.Hasher
- gamma_ - Static variable in class com.github.tommyettinger.digital.Hasher
- glasya_labolas - Static variable in class com.github.tommyettinger.digital.Hasher
- glasya_labolas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- GOLDEN_LONGS - Static variable in class com.github.tommyettinger.digital.MathTools
-
1275 negative, odd
long
values that are calculated using a generalization of the golden ratio and exponents of those generalizations. - GOLDEN_RATIO - Static variable in class com.github.tommyettinger.digital.MathTools
-
The famous golden ratio,
(1.0 + Math.sqrt(5.0)) * 0.5
; this is the "most irrational" of irrational numbers, and has various useful properties. - GOLDEN_RATIO_INVERSE - Static variable in class com.github.tommyettinger.digital.MathTools
-
The inverse of the golden ratio,
(1.0 - Math.sqrt(5.0)) * -0.5
orGOLDEN_RATIO - 1.0
; this also has various useful properties. - greatestCommonDivisor(long, long) - Static method in class com.github.tommyettinger.digital.MathTools
-
Determines the greatest common divisor of a pair of natural numbers using the Euclidean algorithm.
- gremory - Static variable in class com.github.tommyettinger.digital.Hasher
- gremory_ - Static variable in class com.github.tommyettinger.digital.Hasher
- gusion - Static variable in class com.github.tommyettinger.digital.Hasher
- gusion_ - Static variable in class com.github.tommyettinger.digital.Hasher
H
- haagenti - Static variable in class com.github.tommyettinger.digital.Hasher
- haagenti_ - Static variable in class com.github.tommyettinger.digital.Hasher
- HALF_PI - Static variable in class com.github.tommyettinger.digital.TrigTools
-
PI
divided by 2f. - halphas - Static variable in class com.github.tommyettinger.digital.Hasher
- halphas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- hash(boolean[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(byte[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(byte[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(char[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(char[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(char[], int, int) - Method in class com.github.tommyettinger.digital.Hasher
-
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
- hash(double[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(double[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(float[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(float[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(int[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(int[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(int[], int) - Method in class com.github.tommyettinger.digital.Hasher
- hash(long[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(long[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(long, boolean[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, byte[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, byte[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, char[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, char[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, char[], int, int) - Static method in class com.github.tommyettinger.digital.Hasher
-
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
- hash(long, double[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, double[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, float[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, float[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, int[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, int[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, int[], int) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, long[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, long[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, short[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, CharSequence) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, CharSequence[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, CharSequence[]...) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, CharSequence, int, int) - Static method in class com.github.tommyettinger.digital.Hasher
-
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
- hash(long, Iterable<? extends CharSequence>) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, Object) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, Object[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(long, List<? extends CharSequence>) - Static method in class com.github.tommyettinger.digital.Hasher
- hash(short[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(CharSequence) - Method in class com.github.tommyettinger.digital.Hasher
- hash(CharSequence[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(CharSequence[]...) - Method in class com.github.tommyettinger.digital.Hasher
- hash(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Hasher
-
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
- hash(Iterable<? extends CharSequence>) - Method in class com.github.tommyettinger.digital.Hasher
- hash(Object) - Method in class com.github.tommyettinger.digital.Hasher
- hash(Object[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash(List<? extends CharSequence>) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(boolean[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(byte[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(byte[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(char[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(char[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(char[], int, int) - Method in class com.github.tommyettinger.digital.Hasher
-
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
- hash64(double[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(double[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(float[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(float[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(int[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(int[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(int[], int) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(long[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(long[][]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(long, boolean[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, byte[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, byte[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, char[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, char[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, char[], int, int) - Static method in class com.github.tommyettinger.digital.Hasher
-
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
- hash64(long, double[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, double[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, float[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, float[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, int[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, int[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, int[], int) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, long[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, long[][]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, short[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, CharSequence) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, CharSequence[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, CharSequence[]...) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, CharSequence, int, int) - Static method in class com.github.tommyettinger.digital.Hasher
-
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
- hash64(long, Iterable<? extends CharSequence>) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, Object) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, Object[]) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(long, List<? extends CharSequence>) - Static method in class com.github.tommyettinger.digital.Hasher
- hash64(short[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(CharSequence) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(CharSequence[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(CharSequence[]...) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Hasher
-
Hashes only a subsection of the given data, starting at start (inclusive) and ending before end (exclusive).
- hash64(Iterable<? extends CharSequence>) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(Object) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(Object[]) - Method in class com.github.tommyettinger.digital.Hasher
- hash64(List<? extends CharSequence>) - Method in class com.github.tommyettinger.digital.Hasher
- hashCode() - Method in class com.github.tommyettinger.digital.Base
- Hasher - Class in com.github.tommyettinger.digital
-
64-bit and 32-bit hashing functions that we can rely on staying the same cross-platform.
- Hasher() - Constructor for class com.github.tommyettinger.digital.Hasher
-
Creates a new Hasher seeded, arbitrarily, with the constant 0xC4CEB9FE1A85EC53L, or -4265267296055464877L .
- Hasher(long) - Constructor for class com.github.tommyettinger.digital.Hasher
-
Initializes this Hasher with the given seed, verbatim; it is recommended to use
Hasher.randomize3(long)
on the seed if you don't know if it is adequately-random. - Hasher(CharSequence) - Constructor for class com.github.tommyettinger.digital.Hasher
-
Constructs a Hasher by hashing
seed
withHasher.hash64(long, CharSequence)
, and then running the result throughHasher.randomize2(long)
.
I
- insert(boolean[][], boolean[][], int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Inserts as much of source into target at the given x,y position as target can hold or source can supply.
- insert(char[][], char[][], int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Inserts as much of source into target at the given x,y position as target can hold or source can supply.
- insert(double[][], double[][], int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Inserts as much of source into target at the given x,y position as target can hold or source can supply.
- insert(float[][], float[][], int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Inserts as much of source into target at the given x,y position as target can hold or source can supply.
- insert(int[][], int[][], int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Inserts as much of source into target at the given x,y position as target can hold or source can supply.
- intBitsToFloat(int) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Identical to
Float.intBitsToFloat(int)
on desktop; optimized on GWT. - intSplit(String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as an int array.
- intSplit(String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as an int array.
- intSplit2D(String, String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D int array.
- intSplit2D(String, String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D int array.
- iota - Static variable in class com.github.tommyettinger.digital.Hasher
- iota_ - Static variable in class com.github.tommyettinger.digital.Hasher
- ipos - Static variable in class com.github.tommyettinger.digital.Hasher
- ipos_ - Static variable in class com.github.tommyettinger.digital.Hasher
- isEqual(double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Equivalent to libGDX's isEqual() method in MathUtils; this compares two doubles for equality and allows the given tolerance during comparison.
- isEqual(float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Equivalent to libGDX's isEqual() method in MathUtils; this compares two floats for equality and allows just enough tolerance to ignore a rounding error.
- isEqual(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Equivalent to libGDX's isEqual() method in MathUtils; this compares two floats for equality and allows the given tolerance during comparison.
- isPowerOfTwo(int) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns true if
value
is a power of two or is equal toInteger.MIN_VALUE
; false otherwise. - isqrt(long) - Static method in class com.github.tommyettinger.digital.MathTools
-
Integer square root (using floor), maintaining correct results even for very large
long
values. - isZero(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns true if the value is zero (using the default tolerance,
MathTools.FLOAT_ROUNDING_ERROR
, as upper bound). - isZero(float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns true if the value is zero.
J
- join(String, byte[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a byte array and a delimiter to separate the items of that array, produces a String containing all bytes from elements, in this Base, separated by delimiter.
- join(String, char[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a char array and a delimiter to separate the items of that array, produces a String containing all chars (as numbers) from elements, in this Base, separated by delimiter.
- join(String, double[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a double array and a delimiter to separate the items of that array, produces a String containing all doubles from elements, in this Base, separated by delimiter.
- join(String, float[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a float array and a delimiter to separate the items of that array, produces a String containing all floats from elements, in this Base, separated by delimiter.
- join(String, int[]) - Method in class com.github.tommyettinger.digital.Base
-
Given an int array and a delimiter to separate the items of that array, produces a String containing all ints from elements, in this Base, separated by delimiter.
- join(String, long[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a long array and a delimiter to separate the items of that array, produces a String containing all longs from elements, in this Base, separated by delimiter.
- join(String, short[]) - Method in class com.github.tommyettinger.digital.Base
-
Given a short array and a delimiter to separate the items of that array, produces a String containing all shorts from elements, in this Base, separated by delimiter.
K
- kappa - Static variable in class com.github.tommyettinger.digital.Hasher
- kappa_ - Static variable in class com.github.tommyettinger.digital.Hasher
- kimaris - Static variable in class com.github.tommyettinger.digital.Hasher
- kimaris_ - Static variable in class com.github.tommyettinger.digital.Hasher
L
- lambda - Static variable in class com.github.tommyettinger.digital.Hasher
- lambda_ - Static variable in class com.github.tommyettinger.digital.Hasher
- leraje - Static variable in class com.github.tommyettinger.digital.Hasher
- leraje_ - Static variable in class com.github.tommyettinger.digital.Hasher
- lerp(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between fromValue to toValue on progress position.
- lerpAngle(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between two angles in radians.
- lerpAngleDeg(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between two angles in degrees.
- lerpAngleTurns(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between two angles in turns.
- letterAt(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets the nth letter from the set of 256 visually distinct glyphs; from index 0 (returning 'A') to 255 (returning the Greek lower-case letter gamma, 'γ') and wrapping around if given negative numbers or numbers larger than 255.
- letterSpan(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Stupidly simple convenience method that produces a char array containing only letters that can be reasonably displayed with many fonts.
- log(double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Calculate logarithms for arbitrary bases.
- log(float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Calculate logarithms for arbitrary bases.
- log2(float) - Static method in class com.github.tommyettinger.digital.MathTools
- longBitsToDouble(long) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Identical to
Double.longBitsToDouble(long)
on desktop; optimized on GWT. - longFloor(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.floor(double)
, but returns a long. - longFloor(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.floor(double)
, but takes a float and returns a long. - longSplit(String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a long array.
- longSplit(String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a long array.
- longSplit2D(String, String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D long array.
- longSplit2D(String, String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D long array.
- lowestOneBit(int) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Returns an int value with at most a single one-bit, in the position of the lowest-order ("rightmost") one-bit in the specified int value.
- lowestOneBit(long) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Returns an long value with at most a single one-bit, in the position of the lowest-order ("rightmost") one-bit in the specified long value.
M
- malphas - Static variable in class com.github.tommyettinger.digital.Hasher
- malphas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- map(float, float, float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly map a value from one range to another.
- marax - Static variable in class com.github.tommyettinger.digital.Hasher
- marax_ - Static variable in class com.github.tommyettinger.digital.Hasher
- marbas - Static variable in class com.github.tommyettinger.digital.Hasher
- marbas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- marchosias - Static variable in class com.github.tommyettinger.digital.Hasher
- marchosias_ - Static variable in class com.github.tommyettinger.digital.Hasher
- MathTools - Class in com.github.tommyettinger.digital
-
Mathematical operations not provided by
java.lang.Math
. - modularMultiplicativeInverse(int) - Static method in class com.github.tommyettinger.digital.MathTools
-
Given any odd int
a
, this finds another odd intb
such thata * b == 1
. - modularMultiplicativeInverse(long) - Static method in class com.github.tommyettinger.digital.MathTools
-
Given any odd long
a
, this finds another odd longb
such thata * b == 1L
. - mu - Static variable in class com.github.tommyettinger.digital.Hasher
- mu_ - Static variable in class com.github.tommyettinger.digital.Hasher
- mum(long, long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Takes two arguments that are technically longs, and should be very different, and uses them to get a result that is technically a long and mixes the bits of the inputs.
- murmur - Static variable in class com.github.tommyettinger.digital.Hasher
- murmur_ - Static variable in class com.github.tommyettinger.digital.Hasher
N
- naberius - Static variable in class com.github.tommyettinger.digital.Hasher
- naberius_ - Static variable in class com.github.tommyettinger.digital.Hasher
- negativeSign - Variable in class com.github.tommyettinger.digital.Base
-
Used to indicate negative numbers with
Base.signed(int)
and when reading them back withBase.readInt(CharSequence)
; like-
in most numeral systems. - nextPowerOfTwo(int) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the next higher power of two relative to
n
, or n if it is already a power of two. - norm(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly normalizes value from a range.
- nu - Static variable in class com.github.tommyettinger.digital.Hasher
- nu_ - Static variable in class com.github.tommyettinger.digital.Hasher
O
- omega - Static variable in class com.github.tommyettinger.digital.Hasher
- omega_ - Static variable in class com.github.tommyettinger.digital.Hasher
- omicron - Static variable in class com.github.tommyettinger.digital.Hasher
- omicron_ - Static variable in class com.github.tommyettinger.digital.Hasher
- orias - Static variable in class com.github.tommyettinger.digital.Hasher
- orias_ - Static variable in class com.github.tommyettinger.digital.Hasher
- orobas - Static variable in class com.github.tommyettinger.digital.Hasher
- orobas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- ose - Static variable in class com.github.tommyettinger.digital.Hasher
- ose_ - Static variable in class com.github.tommyettinger.digital.Hasher
P
- paddingChar - Variable in class com.github.tommyettinger.digital.Base
-
When an encoding needs to indicate that a char is not considered part of a number, it uses this padding char; this is mostly relevant for other code using Base-64 and URI-safe encodings, and is not used here.
- paimon - Static variable in class com.github.tommyettinger.digital.Hasher
- paimon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- phenex - Static variable in class com.github.tommyettinger.digital.Hasher
- phenex_ - Static variable in class com.github.tommyettinger.digital.Hasher
- phi - Static variable in class com.github.tommyettinger.digital.Hasher
- phi_ - Static variable in class com.github.tommyettinger.digital.Hasher
- pi - Static variable in class com.github.tommyettinger.digital.Hasher
- PI - Static variable in class com.github.tommyettinger.digital.TrigTools
-
The
float
value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter. - pi_ - Static variable in class com.github.tommyettinger.digital.Hasher
- PI_INVERSE - Static variable in class com.github.tommyettinger.digital.TrigTools
-
1.0f divided by
PI
. - PI2 - Static variable in class com.github.tommyettinger.digital.TrigTools
- positiveSign - Variable in class com.github.tommyettinger.digital.Base
-
Can be used to indicate positive numbers; like
+
in most numeral systems, this is usually ignored. - predefined - Static variable in class com.github.tommyettinger.digital.Hasher
-
Has a length of 192, which may be relevant if automatically choosing a predefined hash functor.
- psi - Static variable in class com.github.tommyettinger.digital.Hasher
- psi_ - Static variable in class com.github.tommyettinger.digital.Hasher
- purson - Static variable in class com.github.tommyettinger.digital.Hasher
- purson_ - Static variable in class com.github.tommyettinger.digital.Hasher
Q
- QUARTER_PI - Static variable in class com.github.tommyettinger.digital.TrigTools
-
PI
divided by 4f.
R
- radiansToDegrees - Static variable in class com.github.tommyettinger.digital.TrigTools
-
Multiply by this to convert from radians to degrees.
- raiseToPower(int, int) - Static method in class com.github.tommyettinger.digital.MathTools
-
Calculate the first argument raised to the power of the second.
- randomize1(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Fast static randomizing method that takes its state as a parameter; state is expected to change between calls to this.
- randomize1Bounded(long, int) - Static method in class com.github.tommyettinger.digital.Hasher
-
Fast static randomizing method that takes its state as a parameter and limits output to an int between 0 (inclusive) and bound (exclusive); state is expected to change between calls to this.
- randomize1Double(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Returns a random double that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- randomize1Float(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Returns a random float that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- randomize2(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Mid-quality static randomizing method that takes its state as a parameter; state is expected to change between calls to this.
- randomize2Bounded(long, int) - Static method in class com.github.tommyettinger.digital.Hasher
-
Mid-quality static randomizing method that takes its state as a parameter and limits output to an int between 0 (inclusive) and bound (exclusive); state is expected to change between calls to this.
- randomize2Double(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Returns a random double that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- randomize2Float(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Returns a random float that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- randomize3(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Very thorough static randomizing method that takes its state as a parameter; state is expected to change between calls to this.
- randomize3Bounded(long, int) - Static method in class com.github.tommyettinger.digital.Hasher
-
Very thorough static randomizing method that takes its state as a parameter and limits output to an int between 0 (inclusive) and bound (exclusive); state is expected to change between calls to this.
- randomize3Double(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Returns a random double that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- randomize3Float(long) - Static method in class com.github.tommyettinger.digital.Hasher
-
Returns a random float that is deterministic based on state; if state is the same on two calls to this, this will return the same float.
- range(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Stupidly simple convenience method that produces a range from 0 to end, not including end, as an int array.
- range(int[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills the given int array with sequential ints from 0 to
buffer.length - 1
. - range(int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Stupidly simple convenience method that produces a range from start to end, not including end, as an int array.
- raum - Static variable in class com.github.tommyettinger.digital.Hasher
- raum_ - Static variable in class com.github.tommyettinger.digital.Hasher
- readByte(char[], int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a char array containing only the digits present in this Base, with an optional sign at the start, and returns the byte they represent, or 0 if nothing could be read.
- readByte(CharSequence) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the byte they represent, or 0 if nothing could be read.
- readByte(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the byte they represent, or 0 if nothing could be read.
- readChar(char[], int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a char array containing only the digits present in this Base, with an optional sign at the start, and returns the char they represent, or 0 if nothing could be read.
- readChar(CharSequence) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the char they represent, or 0 if nothing could be read.
- readChar(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the char they represent, or 0 if nothing could be read.
- readDouble(char[], int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a char array containing only the digits present in this Base, with an optional sign at the start, and returns the double those bits represent, or 0.0 if nothing could be read.
- readDouble(CharSequence) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the double those bits represent, or 0.0 if nothing could be read.
- readDouble(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the double those bits represent, or 0.0 if nothing could be read.
- readFloat(char[], int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a char array containing only the digits present in this Base, with an optional sign at the start, and returns the float those bits represent, or 0.0 if nothing could be read.
- readFloat(CharSequence) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the float those bits represent, or 0.0 if nothing could be read.
- readFloat(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the float those bits represent, or 0.0 if nothing could be read.
- readInt(char[], int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a char array containing only the digits present in this Base, with an optional sign at the start, and returns the int they represent, or 0 if nothing could be read.
- readInt(CharSequence) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the int they represent, or 0 if nothing could be read.
- readInt(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the int they represent, or 0 if nothing could be read.
- readLong(char[], int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a char array containing only the digits present in this Base, with an optional sign at the start, and returns the long they represent, or 0 if nothing could be read.
- readLong(CharSequence) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the long they represent, or 0 if nothing could be read.
- readLong(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the long they represent, or 0 if nothing could be read.
- readShort(char[], int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a char array containing only the digits present in this Base, with an optional sign at the start, and returns the short they represent, or 0 if nothing could be read.
- readShort(CharSequence) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the short they represent, or 0 if nothing could be read.
- readShort(CharSequence, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Reads in a CharSequence containing only the digits present in this Base, with an optional sign at the start, and returns the short they represent, or 0 if nothing could be read.
- remainder(double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like the modulo operator
%
, but the result will always match the sign ofd
instead ofop
. - reverse(boolean[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Reverses the array given as a parameter, in-place, and returns the modified original.
- reverse(byte[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Reverses the array given as a parameter, in-place, and returns the modified original.
- reverse(char[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Reverses the array given as a parameter, in-place, and returns the modified original.
- reverse(double[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Reverses the array given as a parameter, in-place, and returns the modified original.
- reverse(float[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Reverses the array given as a parameter, in-place, and returns the modified original.
- reverse(int[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Reverses the array given as a parameter, in-place, and returns the modified original.
- reverse(T[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Reverses the array given as a parameter, in-place, and returns the modified original.
- reversedIntBitsToFloat(int) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Reverses the byte order of
bits
and converts that to a float. - rho - Static variable in class com.github.tommyettinger.digital.Hasher
- rho_ - Static variable in class com.github.tommyettinger.digital.Hasher
- ronove - Static variable in class com.github.tommyettinger.digital.Hasher
- ronove_ - Static variable in class com.github.tommyettinger.digital.Hasher
- round(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the closest integer to the specified float.
- roundPositive(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the closest integer to the specified float.
S
- sabnock - Static variable in class com.github.tommyettinger.digital.Hasher
- sabnock_ - Static variable in class com.github.tommyettinger.digital.Hasher
- sallos - Static variable in class com.github.tommyettinger.digital.Hasher
- sallos_ - Static variable in class com.github.tommyettinger.digital.Hasher
- samigina - Static variable in class com.github.tommyettinger.digital.Hasher
- samigina_ - Static variable in class com.github.tommyettinger.digital.Hasher
- scramble(Random) - Method in class com.github.tommyettinger.digital.Base
-
Copies this Base and shuffles the digit values in the copy.
- scrambledBase(Random) - Static method in class com.github.tommyettinger.digital.Base
-
Returns a seemingly-gibberish Base that uses a radix of 72 and a randomly-ordered set of characters to represent the different digit values.
- seed - Variable in class com.github.tommyettinger.digital.Hasher
-
The seed used by all non-static hash() and hash64() methods in this class (the methods that don't take a seed).
- seere - Static variable in class com.github.tommyettinger.digital.Hasher
- seere_ - Static variable in class com.github.tommyettinger.digital.Hasher
- serializeToString() - Method in class com.github.tommyettinger.digital.Base
-
Stores this Base as a compact String; the String this produces is usually given to
Base.deserializeFromString(String)
to restore the Base. - shax - Static variable in class com.github.tommyettinger.digital.Hasher
- shax_ - Static variable in class com.github.tommyettinger.digital.Hasher
- shortSplit(String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a short array.
- shortSplit(String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing numbers in this Base, separated by instances of delimiter, returns those numbers as a short array.
- shortSplit2D(String, String, String) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D short array.
- shortSplit2D(String, String, String, int, int) - Method in class com.github.tommyettinger.digital.Base
-
Given a String containing sequences of numbers in this Base, with the sequences separated by instances of majorDelimiter and the numbers within a sequence separated by minorDelimiter returns those numbers as a 2D short array.
- sigma - Static variable in class com.github.tommyettinger.digital.Hasher
- sigma_ - Static variable in class com.github.tommyettinger.digital.Hasher
- signed(byte) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, returning a new String. - signed(char) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, returning a new String. - signed(double) - Method in class com.github.tommyettinger.digital.Base
-
Converts the bits of the given
number
to this Base as signed, returning a new String. - signed(float) - Method in class com.github.tommyettinger.digital.Base
-
Converts the bits of the given
number
to this Base as signed, returning a new String. - signed(int) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, returning a new String. - signed(long) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, returning a new String. - signed(short) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as signed, returning a new String. - SIMPLE64 - Static variable in class com.github.tommyettinger.digital.Base
-
One of three base-64 schemes available here, this is a non-standard one that is more in-line with common expectations for how numbers should look.
- sin(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the sine in radians from a lookup table.
- SIN_TABLE - Static variable in class com.github.tommyettinger.digital.TrigTools
-
A precalculated table of 16384 floats, corresponding to the y-value of points on the unit circle, ordered by increasing angle.
- sinDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the sine in degrees from a lookup table.
- sinTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the sine in turns from a lookup table.
- sitri - Static variable in class com.github.tommyettinger.digital.Hasher
- sitri_ - Static variable in class com.github.tommyettinger.digital.Hasher
- stolas - Static variable in class com.github.tommyettinger.digital.Hasher
- stolas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- sway(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Very similar to
sinTurns(float)
with half frequency, orMath.sin(double)
withMath.PI
frequency, but optimized (and shaped) a little differently. - swayCubic(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Very similar to
sinTurns(float)
with half frequency, orMath.sin(double)
withMath.PI
frequency, but optimized (and shaped) a little differently. - swayTight(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Takes any float and produces a float in the 0f to 1f range, with a graph of input to output that looks much like a sine wave, curving to have a flat slope when given an integer input and a steep slope when the input is halfway between two integers, smoothly curving at any points between those extremes.
T
- TABLE_MASK - Static variable in class com.github.tommyettinger.digital.TrigTools
-
The bitmask that can be used to confine any int to wrap within
TABLE_SIZE
. - TABLE_SIZE - Static variable in class com.github.tommyettinger.digital.TrigTools
-
The size of
SIN_TABLE
, available separately from the table's length for convenience. - tan(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in radians from a lookup table.
- tanDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in degrees from a lookup table.
- tanTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in turns from a lookup table.
- tau - Static variable in class com.github.tommyettinger.digital.Hasher
- TAU - Static variable in class com.github.tommyettinger.digital.TrigTools
- tau_ - Static variable in class com.github.tommyettinger.digital.Hasher
- theta - Static variable in class com.github.tommyettinger.digital.Hasher
- theta_ - Static variable in class com.github.tommyettinger.digital.Hasher
- toEncoded - Variable in class com.github.tommyettinger.digital.Base
-
The digits this will encode to, in order from smallest to largest.
- TrigTools - Class in com.github.tommyettinger.digital
-
Various trigonometric approximations, using a lookup table for sin(), cos(), and tan(), and Taylor series for their inverses.
- truncate(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Forces precision loss on the given double so very small fluctuations away from an integer will be erased.
- truncate(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Forces precision loss on the given float so very small fluctuations away from an integer will be erased.
U
- unsigned(byte) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, returning a new String. - unsigned(char) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, returning a new String. - unsigned(double) - Method in class com.github.tommyettinger.digital.Base
-
Converts the bits of the given
number
to this Base as unsigned, returning a new String. - unsigned(float) - Method in class com.github.tommyettinger.digital.Base
-
Converts the bits of the given
number
to this Base as unsigned, returning a new String. - unsigned(int) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, returning a new String. - unsigned(long) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, returning a new String. - unsigned(short) - Method in class com.github.tommyettinger.digital.Base
-
Converts the given
number
to this Base as unsigned, returning a new String. - upsilon - Static variable in class com.github.tommyettinger.digital.Hasher
- upsilon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- URI_SAFE - Static variable in class com.github.tommyettinger.digital.Base
-
One of three base-64 schemes available here, this is meant for URI-encoding, using the digits A-Z, then a-z, then 0-9, then + and - (case-sensitive).
V
- valac - Static variable in class com.github.tommyettinger.digital.Hasher
- valac_ - Static variable in class com.github.tommyettinger.digital.Hasher
- valefor - Static variable in class com.github.tommyettinger.digital.Hasher
- valefor_ - Static variable in class com.github.tommyettinger.digital.Hasher
- values() - Static method in class com.github.tommyettinger.digital.Base
-
Returns an immutable List of the Base instances this knows about from the start.
- vapula - Static variable in class com.github.tommyettinger.digital.Hasher
- vapula_ - Static variable in class com.github.tommyettinger.digital.Hasher
- vassago - Static variable in class com.github.tommyettinger.digital.Hasher
- vassago_ - Static variable in class com.github.tommyettinger.digital.Hasher
- vepar - Static variable in class com.github.tommyettinger.digital.Hasher
- vepar_ - Static variable in class com.github.tommyettinger.digital.Hasher
- vine - Static variable in class com.github.tommyettinger.digital.Hasher
- vine_ - Static variable in class com.github.tommyettinger.digital.Hasher
- vual - Static variable in class com.github.tommyettinger.digital.Hasher
- vual_ - Static variable in class com.github.tommyettinger.digital.Hasher
W
- wow(long, long) - Static method in class com.github.tommyettinger.digital.Hasher
-
A slower but higher-quality variant on
Hasher.mum(long, long)
that can take two arbitrary longs (with any of their 64 bits containing relevant data) instead of mum's 32-bit sections of its inputs, and outputs a 64-bit result that can have any of its bits used.
X
- xi - Static variable in class com.github.tommyettinger.digital.Hasher
- xi_ - Static variable in class com.github.tommyettinger.digital.Hasher
Z
- zagan - Static variable in class com.github.tommyettinger.digital.Hasher
- zagan_ - Static variable in class com.github.tommyettinger.digital.Hasher
- zepar - Static variable in class com.github.tommyettinger.digital.Hasher
- zepar_ - Static variable in class com.github.tommyettinger.digital.Hasher
- zeta - Static variable in class com.github.tommyettinger.digital.Hasher
- zeta_ - Static variable in class com.github.tommyettinger.digital.Hasher
- zigzag(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Takes any float and produces a float in the -1f to 1f range, with similar inputs producing close to a consistent rate of up and down through the range.
All Classes and Interfaces|All Packages|Constant Field Values