Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acos(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arccosine in radians; less accurate than Math.acos but may be faster.
- 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(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arccosine in degrees.
- acosDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arccosine in degrees.
- acosTurns(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arccosine in turns.
- acosTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arccosine in turns.
- actinium - Static variable in class com.github.tommyettinger.digital.Hasher
- actinium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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
- AlternateRandom - Class in com.github.tommyettinger.digital
-
A drop-in replacement for
Random
that adds few new APIs, but is faster, has better statistical quality, and has a guaranteed longer minimum period (also called cycle length). - AlternateRandom() - Constructor for class com.github.tommyettinger.digital.AlternateRandom
-
Creates a new AlternateRandom with a random state.
- AlternateRandom(long) - Constructor for class com.github.tommyettinger.digital.AlternateRandom
-
Creates a new AlternateRandom with the given seed; all
long
values are permitted. - AlternateRandom(long, long, long, long, long) - Constructor for class com.github.tommyettinger.digital.AlternateRandom
-
Creates a new AlternateRandom with the given five states; all
long
values are permitted. - aluminium - Static variable in class com.github.tommyettinger.digital.Hasher
- aluminium_ - 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
- americium - Static variable in class com.github.tommyettinger.digital.Hasher
- americium_ - 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
- antimony - Static variable in class com.github.tommyettinger.digital.Hasher
- antimony_ - 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
. - argon - Static variable in class com.github.tommyettinger.digital.Hasher
- argon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- ArrayTools - Class in com.github.tommyettinger.digital
-
Static methods for various frequently-used operations on 1D and 2D arrays.
- arsenic - Static variable in class com.github.tommyettinger.digital.Hasher
- arsenic_ - Static variable in class com.github.tommyettinger.digital.Hasher
- asin(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arcsine in radians; less accurate than Math.asin but may be faster.
- 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(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arcsine in degrees.
- asinDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arcsine in degrees.
- asinTurns(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns arcsine in turns.
- 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
- astatine - Static variable in class com.github.tommyettinger.digital.Hasher
- astatine_ - Static variable in class com.github.tommyettinger.digital.Hasher
- atan(double) - 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).
- 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(double, double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using radians.
- atan2(float, float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using radians.
- atan2Deg(double, double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using positive or negative degrees.
- 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(double, double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using non-negative degrees only.
- 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(double, double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Close approximation of the frequently-used trigonometric method atan2, using non-negative turns 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(double) - 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).
- 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(double) - 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).
- 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
- barium - Static variable in class com.github.tommyettinger.digital.Hasher
- barium_ - 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
- berkelium - Static variable in class com.github.tommyettinger.digital.Hasher
- berkelium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- beryllium - Static variable in class com.github.tommyettinger.digital.Hasher
- beryllium_ - 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
- bismuth - Static variable in class com.github.tommyettinger.digital.Hasher
- bismuth_ - 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
- bohrium - Static variable in class com.github.tommyettinger.digital.Hasher
- bohrium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- boron - Static variable in class com.github.tommyettinger.digital.Hasher
- boron_ - Static variable in class com.github.tommyettinger.digital.Hasher
- botis - Static variable in class com.github.tommyettinger.digital.Hasher
- botis_ - Static variable in class com.github.tommyettinger.digital.Hasher
- boundedInt(long, int) - Static method in class com.github.tommyettinger.digital.MathTools
-
Given a state that is typically random-seeming, this produces an int within a bounded range that is similarly random-seeming.
- boundedLong(long, long, long) - Static method in class com.github.tommyettinger.digital.MathTools
-
Given a state that is typically random-seeming, this produces a long within a bounded range that is similarly random-seeming.
- bromine - Static variable in class com.github.tommyettinger.digital.Hasher
- bromine_ - 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
- cadmium - Static variable in class com.github.tommyettinger.digital.Hasher
- cadmium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- caesium - Static variable in class com.github.tommyettinger.digital.Hasher
- caesium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- caim - Static variable in class com.github.tommyettinger.digital.Hasher
- caim_ - Static variable in class com.github.tommyettinger.digital.Hasher
- calcium - Static variable in class com.github.tommyettinger.digital.Hasher
- calcium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- californium - Static variable in class com.github.tommyettinger.digital.Hasher
- californium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- carbon - Static variable in class com.github.tommyettinger.digital.Hasher
- carbon_ - 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(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.ceil(double)
, but returns an int. - ceil(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the smallest int 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.
- cerium - Static variable in class com.github.tommyettinger.digital.Hasher
- cerium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- charSpan(char[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Stupidly simple convenience method that produces a char range from u0000 to uFFFF, limited to
buffer.length - 1
. - 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.
- charSpan(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Stupidly simple convenience method that produces a char range from u0000 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.
- chemicalElementAt(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets the nth String from the 118 names of chemical elements on the periodic table in lower case.
- chi - Static variable in class com.github.tommyettinger.digital.Hasher
- chi_ - Static variable in class com.github.tommyettinger.digital.Hasher
- chlorine - Static variable in class com.github.tommyettinger.digital.Hasher
- chlorine_ - Static variable in class com.github.tommyettinger.digital.Hasher
- chromium - Static variable in class com.github.tommyettinger.digital.Hasher
- chromium_ - 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.
- cobalt - Static variable in class com.github.tommyettinger.digital.Hasher
- cobalt_ - Static variable in class com.github.tommyettinger.digital.Hasher
- com.github.tommyettinger.digital - package com.github.tommyettinger.digital
- copernicium - Static variable in class com.github.tommyettinger.digital.Hasher
- copernicium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- copper - Static variable in class com.github.tommyettinger.digital.Hasher
- copper_ - Static variable in class com.github.tommyettinger.digital.Hasher
- copy() - Method in class com.github.tommyettinger.digital.AlternateRandom
- 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.
- copy(long[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets a copy of the 2D long array, source, that has the same data but shares no references with source.
- cos(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the cosine in radians from a lookup table.
- cos(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the cosine in radians from a lookup table.
- cosDeg(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the cosine in degrees from a lookup table.
- cosDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the cosine in degrees from a lookup table.
- cosSmooth(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth cosine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- cosSmooth(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth cosine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- cosSmoothDeg(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth cosine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- cosSmoothDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth cosine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- cosSmoothTurns(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth cosine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- cosSmoothTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth cosine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- cosTurns(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the cosine in turns 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
- cube(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the cube (third power) of its parameter.
- cube(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the cube (third power) of its parameter.
- CUBE_FACES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The faces of a cube, as int[4] items representing indices into
ShapeTools.CUBE_VERTICES
. - CUBE_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of a cube with unitary edge length, as float[3] items representing points.
- CUBE_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of a cube with unitary edge length, as double[3] items representing points.
- curium - Static variable in class com.github.tommyettinger.digital.Hasher
- curium_ - 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
- darmstadtium - Static variable in class com.github.tommyettinger.digital.Hasher
- darmstadtium_ - 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.
- degreesToRadiansD - 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
- demonNameAt(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets the nth String from a set of 72 names of demons from the Ars Goetia in lower case.
- deserializeFromString(String) - Method in class com.github.tommyettinger.digital.AlternateRandom
-
Given a String produced by
AlternateRandom.serializeToString()
, this sets the state of this AlternateRandom to the state stored in that String.This does not deserialize any fields inherited fromRandom
, so the methods that use Random's side entirely, such as the Stream methods, won't be affected by this state. - 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. - DODECAHEDRON_FACES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The faces of a dodecahedron, as int[5] items representing indices into
ShapeTools.DODECAHEDRON_VERTICES
. - DODECAHEDRON_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of a dodecahedron with unitary edge length, as float[3] items representing points.
- DODECAHEDRON_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of a dodecahedron with unitary edge length, as double[3] items representing points.
- 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 raw 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 raw 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. - doubleToReversedLongBits(double) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Gets the bit representation of the given double
value
, but with reversed byte order. - dubnium - Static variable in class com.github.tommyettinger.digital.Hasher
- dubnium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- dysprosium - Static variable in class com.github.tommyettinger.digital.Hasher
- dysprosium_ - Static variable in class com.github.tommyettinger.digital.Hasher
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. - einsteinium - Static variable in class com.github.tommyettinger.digital.Hasher
- einsteinium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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.MathTools
-
2 to the -24 as a float; this is equal to
Math.ulp(0.5f)
, and is the smallest non-zero distance possible between two results ofRandom.nextFloat()
. - epsilon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- EPSILON_D - Static variable in class com.github.tommyettinger.digital.MathTools
-
2 to the -53 as a float; this is equal to
Math.ulp(0.5)
, and is the smallest non-zero distance possible between two results ofRandom.nextDouble()
. - equals(Object) - Method in class com.github.tommyettinger.digital.Base
- erbium - Static variable in class com.github.tommyettinger.digital.Hasher
- erbium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- eta - Static variable in class com.github.tommyettinger.digital.Hasher
- ETA - Static variable in class com.github.tommyettinger.digital.TrigTools
- eta_ - Static variable in class com.github.tommyettinger.digital.Hasher
- ETA_D - Static variable in class com.github.tommyettinger.digital.TrigTools
- europium - Static variable in class com.github.tommyettinger.digital.Hasher
- europium_ - Static variable in class com.github.tommyettinger.digital.Hasher
F
- factorial(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
A close approximation to the factorial function for real numbers, using an algorithm by T.
- factorial(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
A close approximation to the factorial function for real numbers, using an algorithm by T.
- fastCeil(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.ceil(double)
, but takes a float and 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. - fermium - Static variable in class com.github.tommyettinger.digital.Hasher
- fermium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- fibonacci(int) - Static method in class com.github.tommyettinger.digital.MathTools
-
Binet's formula for the Fibonacci sequence, which is a closed-form expression where which each resulting value is the sum of the two proceeding values.
- fibonacci(long) - Static method in class com.github.tommyettinger.digital.MathTools
-
Binet's formula for the Fibonacci sequence, which is a closed-form expression where which each resulting value is the sum of the two proceeding values.
- 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
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.
- fill(T[][], T) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array2d
with identical references tovalue
(not copies). - fill(T[][], T, int, int, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills a sub-section of
array2d
with identical references tovalue
(not copies), with the section defined by start/end x/y. - fill3D(boolean[][][], boolean) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
withvalue
. - fill3D(byte[][][], byte) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
withvalue
. - fill3D(char[][][], char) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
withvalue
. - fill3D(double[][][], double) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
withvalue
. - fill3D(float[][][], float) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
withvalue
. - fill3D(int[][][], int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
withvalue
. - fill3D(long[][][], long) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
withvalue
. - fill3D(T[][][], T) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Fills
array3d
with identical references tovalue
(not copies). - flauros - Static variable in class com.github.tommyettinger.digital.Hasher
- flauros_ - Static variable in class com.github.tommyettinger.digital.Hasher
- flerovium - Static variable in class com.github.tommyettinger.digital.Hasher
- flerovium_ - 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(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Like
Math.floor(double)
, but returns an int. - floor(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the largest int less than or equal to the specified float.
- floorPositive(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the largest int less than or equal to the specified float.
- fluorine - Static variable in class com.github.tommyettinger.digital.Hasher
- fluorine_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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
- francium - Static variable in class com.github.tommyettinger.digital.Hasher
- francium_ - 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
- gadolinium - Static variable in class com.github.tommyettinger.digital.Hasher
- gadolinium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- gallium - Static variable in class com.github.tommyettinger.digital.Hasher
- gallium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- gamma - Static variable in class com.github.tommyettinger.digital.Hasher
- gamma(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
A close approximation to the gamma function for positive doubles, using an algorithm by T.
- gamma(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
A close approximation to the gamma function for positive floats, using an algorithm by T.
- gamma_ - Static variable in class com.github.tommyettinger.digital.Hasher
- germanium - Static variable in class com.github.tommyettinger.digital.Hasher
- germanium_ - 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
- gold - Static variable in class com.github.tommyettinger.digital.Hasher
- gold_ - 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_D - Static variable in class com.github.tommyettinger.digital.MathTools
-
The famous golden ratio,
(1.0 + Math.sqrt(5.0)) * 0.5
, as a double; 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. - GOLDEN_RATIO_INVERSE_D - 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
, as a double; 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.
- greekLetterAt(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets the nth String from a set of 24 names of Greek letters in lower case.
- 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
- hafnium - Static variable in class com.github.tommyettinger.digital.Hasher
- hafnium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- HALF_PI - Static variable in class com.github.tommyettinger.digital.TrigTools
- HALF_PI_D - Static variable in class com.github.tommyettinger.digital.TrigTools
- 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)
. - hassium - Static variable in class com.github.tommyettinger.digital.Hasher
- hassium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- helium - Static variable in class com.github.tommyettinger.digital.Hasher
- helium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- holmium - Static variable in class com.github.tommyettinger.digital.Hasher
- holmium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- hydrogen - Static variable in class com.github.tommyettinger.digital.Hasher
- hydrogen_ - Static variable in class com.github.tommyettinger.digital.Hasher
I
- ICOSAHEDRON_FACES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The faces of an icosahedron, as int[3] items representing indices into
ShapeTools.ICOSAHEDRON_VERTICES
. - ICOSAHEDRON_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of an icosahedron with unitary edge length, as float[3] items representing points.
- ICOSAHEDRON_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of an icosahedron with unitary edge length, as double[3] items representing points.
- imul(int, int) - Static method in class com.github.tommyettinger.digital.BitConversion
-
32-bit signed integer multiplication that is correct on all platforms, including GWT.
- indium - Static variable in class com.github.tommyettinger.digital.Hasher
- indium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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.
- insert(long[][], long[][], 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(T[][], T[][], 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.
- invSqrt(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Fast inverse square root, best known for its implementation in Quake III Arena.
- invSqrt(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Fast inverse square root, best known for its implementation in Quake III Arena.
- iodine - Static variable in class com.github.tommyettinger.digital.Hasher
- iodine_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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
- iridium - Static variable in class com.github.tommyettinger.digital.Hasher
- iridium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- iron - Static variable in class com.github.tommyettinger.digital.Hasher
- iron_ - 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(double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns true if the value is zero.
- 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 outer bound). - isZero(float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns true if the value is zero, using the given tolerance.
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
- krypton - Static variable in class com.github.tommyettinger.digital.Hasher
- krypton_ - 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
- lanthanum - Static variable in class com.github.tommyettinger.digital.Hasher
- lanthanum_ - Static variable in class com.github.tommyettinger.digital.Hasher
- lawrencium - Static variable in class com.github.tommyettinger.digital.Hasher
- lawrencium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- lead - Static variable in class com.github.tommyettinger.digital.Hasher
- lead_ - 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(double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between fromValue to toValue on progress position.
- lerp(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between fromValue to toValue on progress position.
- lerpAngle(double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between two angles in radians.
- lerpAngle(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between two angles in radians.
- lerpAngleDeg(double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between two angles in degrees.
- lerpAngleDeg(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between two angles in degrees.
- lerpAngleTurns(double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly interpolates between two angles in turns.
- 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.
- letterSpan(int, 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.
- lithium - Static variable in class com.github.tommyettinger.digital.Hasher
- lithium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- livermorium - Static variable in class com.github.tommyettinger.digital.Hasher
- livermorium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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.
- lutetium - Static variable in class com.github.tommyettinger.digital.Hasher
- lutetium_ - Static variable in class com.github.tommyettinger.digital.Hasher
M
- magnesium - Static variable in class com.github.tommyettinger.digital.Hasher
- magnesium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- malphas - Static variable in class com.github.tommyettinger.digital.Hasher
- malphas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- manganese - Static variable in class com.github.tommyettinger.digital.Hasher
- manganese_ - Static variable in class com.github.tommyettinger.digital.Hasher
- map(double, double, double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly map a value from one range to another.
- 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
. - meitnerium - Static variable in class com.github.tommyettinger.digital.Hasher
- meitnerium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- mendelevium - Static variable in class com.github.tommyettinger.digital.Hasher
- mendelevium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- mercury - Static variable in class com.github.tommyettinger.digital.Hasher
- mercury_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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
. - molybdenum - Static variable in class com.github.tommyettinger.digital.Hasher
- molybdenum_ - Static variable in class com.github.tommyettinger.digital.Hasher
- moscovium - Static variable in class com.github.tommyettinger.digital.Hasher
- moscovium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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. - neodymium - Static variable in class com.github.tommyettinger.digital.Hasher
- neodymium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- neon - Static variable in class com.github.tommyettinger.digital.Hasher
- neon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- neptunium - Static variable in class com.github.tommyettinger.digital.Hasher
- neptunium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- next(int) - Method in class com.github.tommyettinger.digital.AlternateRandom
- nextBoolean() - Method in class com.github.tommyettinger.digital.AlternateRandom
- nextBytes(byte[]) - Method in class com.github.tommyettinger.digital.AlternateRandom
- nextDouble() - Method in class com.github.tommyettinger.digital.AlternateRandom
- nextFloat() - Method in class com.github.tommyettinger.digital.AlternateRandom
- nextGaussian() - Method in class com.github.tommyettinger.digital.AlternateRandom
- nextInt() - Method in class com.github.tommyettinger.digital.AlternateRandom
- nextInt(int) - Method in class com.github.tommyettinger.digital.AlternateRandom
- nextLong() - Method in class com.github.tommyettinger.digital.AlternateRandom
- 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. - nickel - Static variable in class com.github.tommyettinger.digital.Hasher
- nickel_ - Static variable in class com.github.tommyettinger.digital.Hasher
- nihonium - Static variable in class com.github.tommyettinger.digital.Hasher
- nihonium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- niobium - Static variable in class com.github.tommyettinger.digital.Hasher
- niobium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- nitrogen - Static variable in class com.github.tommyettinger.digital.Hasher
- nitrogen_ - Static variable in class com.github.tommyettinger.digital.Hasher
- nobelium - Static variable in class com.github.tommyettinger.digital.Hasher
- nobelium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- norm(double, double, double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly normalizes value from a range.
- norm(float, float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Linearly normalizes value from a range.
- nthrt(float, float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the nth root of x.
- nu - Static variable in class com.github.tommyettinger.digital.Hasher
- nu_ - Static variable in class com.github.tommyettinger.digital.Hasher
O
- OCTAHEDRON_FACES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The faces of an octahedron, as int[3] items representing indices into
ShapeTools.OCTAHEDRON_VERTICES
. - OCTAHEDRON_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of an octahedron with unitary edge length, as float[3] items representing points.
- OCTAHEDRON_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of an octahedron with unitary edge length, as double[3] items representing points.
- oganesson - Static variable in class com.github.tommyettinger.digital.Hasher
- oganesson_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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
- osmium - Static variable in class com.github.tommyettinger.digital.Hasher
- osmium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- oxygen - Static variable in class com.github.tommyettinger.digital.Hasher
- oxygen_ - 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
- palladium - Static variable in class com.github.tommyettinger.digital.Hasher
- palladium_ - 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.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. - phi_ - Static variable in class com.github.tommyettinger.digital.Hasher
- PHI_D - Static variable in class com.github.tommyettinger.digital.MathTools
-
The famous golden ratio,
(1.0 + Math.sqrt(5.0)) * 0.5
, as a double; this is the "most irrational" of irrational numbers, and has various useful properties. - phosphorus - Static variable in class com.github.tommyettinger.digital.Hasher
- phosphorus_ - 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_D - Static variable in class com.github.tommyettinger.digital.TrigTools
-
The
double
value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter. - PI_INVERSE - Static variable in class com.github.tommyettinger.digital.TrigTools
-
1.0f divided by
PI
. - PI_INVERSE_D - Static variable in class com.github.tommyettinger.digital.TrigTools
-
1.0 divided by
PI
. - PI2 - Static variable in class com.github.tommyettinger.digital.TrigTools
- PI2_D - Static variable in class com.github.tommyettinger.digital.TrigTools
- platinum - Static variable in class com.github.tommyettinger.digital.Hasher
- platinum_ - Static variable in class com.github.tommyettinger.digital.Hasher
- plutonium - Static variable in class com.github.tommyettinger.digital.Hasher
- plutonium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- polonium - Static variable in class com.github.tommyettinger.digital.Hasher
- polonium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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. - potassium - Static variable in class com.github.tommyettinger.digital.Hasher
- potassium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- praseodymium - Static variable in class com.github.tommyettinger.digital.Hasher
- praseodymium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- predefined - Static variable in class com.github.tommyettinger.digital.Hasher
-
Has a length of 428, which may be relevant if automatically choosing a predefined hash functor.
- probit(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
A way of taking a double in the (0.0, 1.0) range and mapping it to a Gaussian or normal distribution, so high inputs correspond to high outputs, and similarly for the low range.
- probitInverse(double) - Method in class com.github.tommyettinger.digital.MathTools
-
Inverse to the
MathTools.probit(double)
function; takes a normal-distributed input and returns a value between 0.0 and 1.0, both inclusive. - promethium - Static variable in class com.github.tommyettinger.digital.Hasher
- promethium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- protactinium - Static variable in class com.github.tommyettinger.digital.Hasher
- protactinium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- psi - Static variable in class com.github.tommyettinger.digital.Hasher
- PSI - Static variable in class com.github.tommyettinger.digital.MathTools
-
The conjugate of the golden ratio,
(1.0 - Math.sqrt(5.0)) * 0.5
or1.0 - GOLDEN_RATIO
; this also has various useful properties. - psi_ - Static variable in class com.github.tommyettinger.digital.Hasher
- PSI_D - Static variable in class com.github.tommyettinger.digital.MathTools
-
The conjugate of the golden ratio,
(1.0 - Math.sqrt(5.0)) * 0.5
or1.0 - GOLDEN_RATIO
, as a double; this also has various useful properties. - 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. - QUARTER_PI_D - Static variable in class com.github.tommyettinger.digital.TrigTools
-
Math.PI
divided by 4.0.
R
- radiansToDegrees - Static variable in class com.github.tommyettinger.digital.TrigTools
-
Multiply by this to convert from radians to degrees.
- radiansToDegreesD - Static variable in class com.github.tommyettinger.digital.TrigTools
-
Multiply by this to convert from radians to degrees.
- radium - Static variable in class com.github.tommyettinger.digital.Hasher
- radium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- radon - Static variable in class com.github.tommyettinger.digital.Hasher
- radon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- raiseToPower(int, int) - Static method in class com.github.tommyettinger.digital.MathTools
-
Calculate the first argument raised to the power of the second.
- RANDOM - Static variable in class com.github.tommyettinger.digital.ArrayTools
-
An unseeded Random instance (specifically, an
AlternateRandom
) that is used byArrayTools.shuffle(int[])
and related overloads when given no Random argument or a null one. - 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
. - remainder(float, float) - 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(long[]) - 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. - reversedLongBitsToDouble(long) - Static method in class com.github.tommyettinger.digital.BitConversion
-
Reverses the byte order of
bits
and converts that to a double. - rhenium - Static variable in class com.github.tommyettinger.digital.Hasher
- rhenium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- rho - Static variable in class com.github.tommyettinger.digital.Hasher
- rho_ - Static variable in class com.github.tommyettinger.digital.Hasher
- rhodium - Static variable in class com.github.tommyettinger.digital.Hasher
- rhodium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- roentgenium - Static variable in class com.github.tommyettinger.digital.Hasher
- roentgenium_ - 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
- ROOT2 - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
float
value that is closer than any other toMath.sqrt(2.0)
, the ratio of the hypotenuse of an isosceles right triangle to one of its legs. - ROOT2_D - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
double
value that is closer than any other toMath.sqrt(2.0)
, the ratio of the hypotenuse of an isosceles right triangle to one of its legs. - ROOT2_INVERSE - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
float
value that is closer than any other to1.0 / Math.sqrt(2.0)
, the inverse of the square root of 2. - ROOT2_INVERSE_D - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
double
value that is closer than any other to1.0 / Math.sqrt(2.0)
, the inverse of the square root of 2. - ROOT3 - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
float
value that is closer than any other toMath.sqrt(3.0)
, the ratio of the diagonal length of a cube to its edge length. - ROOT3_D - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
double
value that is closer than any other toMath.sqrt(3.0)
, the ratio of the diagonal length of a cube to its edge length. - ROOT5 - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
float
value that is closer than any other toMath.sqrt(5.0)
, which has various useful properties, such as appearing in many formulae involving the golden ratio which is of course chiefly due to being part of its calculation. - ROOT5_D - Static variable in class com.github.tommyettinger.digital.MathTools
-
The
double
value that is closer than any other toMath.sqrt(5.0)
, which has various useful properties, such as appearing in many formulae involving the golden ratio which is of course chiefly due to being part of its calculation. - 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.
- rubidium - Static variable in class com.github.tommyettinger.digital.Hasher
- rubidium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- ruthenium - Static variable in class com.github.tommyettinger.digital.Hasher
- ruthenium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- rutherfordium - Static variable in class com.github.tommyettinger.digital.Hasher
- rutherfordium_ - Static variable in class com.github.tommyettinger.digital.Hasher
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
- samarium - Static variable in class com.github.tommyettinger.digital.Hasher
- samarium_ - 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
- scandium - Static variable in class com.github.tommyettinger.digital.Hasher
- scandium_ - 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.
- seaborgium - Static variable in class com.github.tommyettinger.digital.Hasher
- seaborgium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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
- selenium - Static variable in class com.github.tommyettinger.digital.Hasher
- selenium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- serializeToString() - Method in class com.github.tommyettinger.digital.AlternateRandom
-
Produces a String that holds the entire state of this AlternateRandom.
- 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. - set(boolean[][], boolean[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Takes a 2D source array and sets it into a 2D target array, as much as target can hold or source can supply.
- set(char[][], char[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Takes a 2D source array and sets it into a 2D target array, as much as target can hold or source can supply.
- set(double[][], double[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Takes a 2D source array and sets it into a 2D target array, as much as target can hold or source can supply.
- set(float[][], float[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Takes a 2D source array and sets it into a 2D target array, as much as target can hold or source can supply.
- set(int[][], int[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Takes a 2D source array and sets it into a 2D target array, as much as target can hold or source can supply.
- set(long[][], long[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Takes a 2D source array and sets it into a 2D target array, as much as target can hold or source can supply.
- set(T[][], T[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Takes a 2D source array and sets it into a 2D target array, as much as target can hold or source can supply.
- setSeed(long) - Method in class com.github.tommyettinger.digital.AlternateRandom
-
This initializes all 5 states of the generator to random values based on the given seed.
- ShapeTools - Class in com.github.tommyettinger.digital
-
Static data for the 3D platonic solids.
- 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.
- shuffle(boolean[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(boolean[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(boolean[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle(byte[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(byte[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(byte[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle(char[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(char[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(char[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle(double[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(double[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(double[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle(float[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(float[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(float[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle(int[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(int[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(int[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle(long[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(long[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(long[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle(short[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(short[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(short[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle(T[]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(T[], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the array given as a parameter, in-place, and returns the modified original.
- shuffle(T[], Random, int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles a section of the array given as a parameter, in-place, and returns the modified original array.
- shuffle2D(boolean[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(boolean[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(byte[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(byte[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(char[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(char[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(double[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(double[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(float[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(float[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(int[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(int[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(long[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(long[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(short[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(short[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(T[][]) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- shuffle2D(T[][], Random) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Shuffles the rectangular 2D array given as a parameter, in-place, and returns the modified original.
- 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. - silicon - Static variable in class com.github.tommyettinger.digital.Hasher
- silicon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- silver - Static variable in class com.github.tommyettinger.digital.Hasher
- silver_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the sine in radians from a lookup table.
- 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.
- SIN_TABLE_D - Static variable in class com.github.tommyettinger.digital.TrigTools
-
A precalculated table of 16384 doubles, corresponding to the y-value of points on the unit circle, ordered by increasing angle.
- SIN_TO_COS - Static variable in class com.github.tommyettinger.digital.TrigTools
-
If you add this to an index used in
SIN_TABLE
, you get the result of the cosine instead of the sine. - sinDeg(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the sine in degrees from a lookup table.
- sinDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the sine in degrees from a lookup table.
- sinSmooth(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth sine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- sinSmooth(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth sine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- sinSmoothDeg(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth sine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- sinSmoothDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth sine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- sinSmoothTurns(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth sine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- sinSmoothTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
A smooth sine approximation (not table-based) built around Bhaskara I's sine approximation from the 7th century.
- sinTurns(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the sine in turns 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
- sodium - Static variable in class com.github.tommyettinger.digital.Hasher
- sodium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- square(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the square (second power) of its parameter.
- square(float) - Static method in class com.github.tommyettinger.digital.MathTools
-
Returns the square (second power) of its parameter.
- stateA - Variable in class com.github.tommyettinger.digital.AlternateRandom
-
The first state; can be any long.
- stateB - Variable in class com.github.tommyettinger.digital.AlternateRandom
-
The second state; can be any long.
- stateC - Variable in class com.github.tommyettinger.digital.AlternateRandom
-
The third state; can be any long.
- stateD - Variable in class com.github.tommyettinger.digital.AlternateRandom
-
The fourth state; can be any long.
- stateE - Variable in class com.github.tommyettinger.digital.AlternateRandom
-
The fifth state; can be any long.
- stolas - Static variable in class com.github.tommyettinger.digital.Hasher
- stolas_ - Static variable in class com.github.tommyettinger.digital.Hasher
- stringAt(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Gets the nth String from a set of 428 short terms, such as the names of Greek letters (24 in lower case and then 24 in upper case), the names of demons from the Ars Goetia (72 names in lower case and then 72 in upper case, some of which can include the underscore), and the names of chemical elements from the periodic table (118 names in lower case and then 118 in upper case).
- stringSpan(int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Stupidly simple convenience method that produces a String array containing various short terms, such as the names of Greek letters (24 in lower case and then 24 in upper case), the names of demons from the Ars Goetia (72 names in lower case and then 72 in upper case, some of which can include the underscore), and the names of chemical elements from the periodic table (118 names in lower case and then 118 in upper case).
- stringSpan(int, int) - Static method in class com.github.tommyettinger.digital.ArrayTools
-
Stupidly simple convenience method that produces a String array containing various short terms, such as the names of Greek letters (24 in lower case and then 24 in upper case), the names of demons from the Ars Goetia (72 names in lower case and then 72 in upper case, some of which can include the underscore), and the names of chemical elements from the periodic table (118 names in lower case and then 118 in upper case).
- strontium - Static variable in class com.github.tommyettinger.digital.Hasher
- strontium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- sulfur - Static variable in class com.github.tommyettinger.digital.Hasher
- sulfur_ - Static variable in class com.github.tommyettinger.digital.Hasher
- sway(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Very similar to
sinTurns(double)
with half frequency, orMath.sin(double)
withMath.PI
frequency, but optimized (and shaped) a little differently. - 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(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Very similar to
sinTurns(double)
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(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Takes any double and produces a double in the 0.0 to 1.0 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.
- 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(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in radians, using a Padé approximant.
- tan(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in radians, using a Padé approximant.
- tanDeg(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in degrees, using a Padé approximant.
- tanDeg(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in degrees, using a Padé approximant.
- tantalum - Static variable in class com.github.tommyettinger.digital.Hasher
- tantalum_ - Static variable in class com.github.tommyettinger.digital.Hasher
- tanTurns(double) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in turns, using a Padé approximant.
- tanTurns(float) - Static method in class com.github.tommyettinger.digital.TrigTools
-
Returns the tangent in turns, using a Padé approximant.
- 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
- TAU_D - Static variable in class com.github.tommyettinger.digital.TrigTools
- technetium - Static variable in class com.github.tommyettinger.digital.Hasher
- technetium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- tellurium - Static variable in class com.github.tommyettinger.digital.Hasher
- tellurium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- tennessine - Static variable in class com.github.tommyettinger.digital.Hasher
- tennessine_ - Static variable in class com.github.tommyettinger.digital.Hasher
- terbium - Static variable in class com.github.tommyettinger.digital.Hasher
- terbium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- TETRAHEDRON_FACES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The faces of a tetrahedron, as int[3] items representing indices into
ShapeTools.TETRAHEDRON_VERTICES
. - TETRAHEDRON_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of a tetrahedron with unitary edge length, as float[3] items representing points.
- TETRAHEDRON_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
The vertices of a tetrahedron with unitary edge length, as double[3] items representing points.
- thallium - Static variable in class com.github.tommyettinger.digital.Hasher
- thallium_ - 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
- thorium - Static variable in class com.github.tommyettinger.digital.Hasher
- thorium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- thulium - Static variable in class com.github.tommyettinger.digital.Hasher
- thulium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- tin - Static variable in class com.github.tommyettinger.digital.Hasher
- tin_ - Static variable in class com.github.tommyettinger.digital.Hasher
- titanium - Static variable in class com.github.tommyettinger.digital.Hasher
- titanium_ - 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() and cos(), a non-tabular approximation for sinSmooth() and cosSmooth(), a Padé approximant for tan(), and Taylor series for the inverses of sin(), cos(), and tan().
- 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.
- tungsten - Static variable in class com.github.tommyettinger.digital.Hasher
- tungsten_ - Static variable in class com.github.tommyettinger.digital.Hasher
U
- UNIT_CUBE_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.CUBE_VERTICES
that has each vertex at distance 1 from the origin. - UNIT_CUBE_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.CUBE_VERTICES_D
that has each vertex at distance 1 from the origin. - UNIT_DODECAHEDRON_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.DODECAHEDRON_VERTICES
that has each vertex at distance 1 from the origin. - UNIT_DODECAHEDRON_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.DODECAHEDRON_VERTICES_D
that has each vertex at distance 1 from the origin. - UNIT_ICOSAHEDRON_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.ICOSAHEDRON_VERTICES
that has each vertex at distance 1 from the origin. - UNIT_ICOSAHEDRON_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.ICOSAHEDRON_VERTICES_D
that has each vertex at distance 1 from the origin. - UNIT_OCTAHEDRON_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.OCTAHEDRON_VERTICES
that has each vertex at distance 1 from the origin. - UNIT_OCTAHEDRON_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.OCTAHEDRON_VERTICES_D
that has each vertex at distance 1 from the origin. - UNIT_TETRAHEDRON_VERTICES - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.TETRAHEDRON_VERTICES
that has each vertex at distance 1 from the origin. - UNIT_TETRAHEDRON_VERTICES_D - Static variable in class com.github.tommyettinger.digital.ShapeTools
-
A variant on
ShapeTools.TETRAHEDRON_VERTICES_D
that has each vertex at distance 1 from the origin. - 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
- uranium - Static variable in class com.github.tommyettinger.digital.Hasher
- uranium_ - 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.
- vanadium - Static variable in class com.github.tommyettinger.digital.Hasher
- vanadium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- 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
- xenon - Static variable in class com.github.tommyettinger.digital.Hasher
- xenon_ - Static variable in class com.github.tommyettinger.digital.Hasher
- xi - Static variable in class com.github.tommyettinger.digital.Hasher
- xi_ - Static variable in class com.github.tommyettinger.digital.Hasher
Y
- ytterbium - Static variable in class com.github.tommyettinger.digital.Hasher
- ytterbium_ - Static variable in class com.github.tommyettinger.digital.Hasher
- yttrium - Static variable in class com.github.tommyettinger.digital.Hasher
- yttrium_ - 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(double) - Static method in class com.github.tommyettinger.digital.MathTools
-
Takes any double and produces a double in the -1.0 to 1.0 range, with similar inputs producing close to a consistent rate of up and down through the range.
- 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.
- zinc - Static variable in class com.github.tommyettinger.digital.Hasher
- zinc_ - Static variable in class com.github.tommyettinger.digital.Hasher
- zirconium - Static variable in class com.github.tommyettinger.digital.Hasher
- zirconium_ - Static variable in class com.github.tommyettinger.digital.Hasher
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form