type library
Data types and their base functions.
Classes
- BigIntDataType
- BigIntEquality
- BigIntField
- BooleanDataType
- Complex
-
A complex number of the form
a + b*i
. - ComplexDataType
- ComplexEquality
- ComplexField
-
DataType<
T> -
Descriptor of a data type
T
, how it is efficiently represented and stored in memory, and strategy of how common operations work. -
Equality<
T> - Encapsulates equality between and the hash code of objects.
-
Field<
T> - Encapsulates a mathematical field.
- Float32DataType
- Float64DataType
-
FloatDataType<
L extends List< double> > - FloatEquality
- FloatField
- Fraction
- A rational number.
- FractionDataType
- FractionEquality
- FractionField
- Int16DataType
- Int32DataType
- Int64DataType
- Int8DataType
-
IntegerDataType<
L extends List< int> > - IntegerEquality
- IntegerField
-
ModuloDataType<
T> -
ModuloEquality<
T> -
ModuloField<
T> -
NaturalEquality<
T> - The natural and canonical equality of objects.
-
NullableDataType<
T> -
Some DataType instances do not support
null
values in the way they represent their data. This wrapper turns those types into nullable ones. -
NullableList<
T> -
A list with null values, where the null values are tracked in a separate
BitList
. For certain types of typed lists, this is the only way to tracknull
values. - NumericDataType
- NumericEquality
- NumericField
-
ObjectDataType<
T> - Quaternion
-
A quaternion number of the form
w + x*i + y*j + z*k
. - QuaternionDataType
- QuaternionEquality
- QuaternionField
- StringDataType
- StringEquality
- Uint16DataType
- Uint32DataType
- Uint64DataType
- Uint8DataType
Mixins
-
CompareOperators<
T> -
A generic mixin that provides standard comparison operators like
<
,<=
,>=
and>
provided the class isComparable
.
Extensions
-
CompoundComparator
on Comparator<
T> -
CompoundIterableComparator
on Iterable<
Comparator< T> > -
LargestComparator
on Comparator<
T> -
LexicographicalComparator
on Comparator<
T> -
MinMaxComparator
on Comparator<
T> -
NullsFirstComparator
on Comparator<
T> -
NullsLastComparator
on Comparator<
T> -
OrderedComparator
on Comparator<
T> -
PredicateComparator
on Comparator<
T> -
ResultOfComparator
on Comparator<
R> -
ReversedComparator
on Comparator<
T> -
SearchComparator
on Comparator<
T> -
SmallestComparator
on Comparator<
T> -
SortComparator
on Comparator<
T>
Functions
-
editDistance(
String a, String b) → int -
Computes the Levenshtein edit distance between two strings
a
andb
: https://en.wikipedia.org/wiki/Levenshtein_distance -
explicitComparator<
T> (Iterable< T> iterable) → Comparator<T> -
Returns an explicit Comparator based on an
iterable
of elements. -
naturalComparable<
T extends Comparable< (T> >T a, T b) → int - Natural static Comparator function using Comparable arguments.
-
naturalCompare(
Object? a, Object? b) → int - Natural dynamic Comparator function.
-
reverseComparable<
T extends Comparable< (T> >T a, T b) → int - Reversed static Comparator function using Comparable arguments.
-
reverseCompare(
Object? a, Object? b) → int - Reversed dynamic Comparator function.