data.type library

Classes

BigIntDataType
BigIntEquality
BigIntField
BooleanDataType
Complex
A complex number of the form a + b*i.
ComplexDataType
ComplexEquality
ComplexField
DataType<T>
Equality<T>
Encapsulates equality between and the hash code of objects.
Field<T>
Encapsulates a mathematical field.
Float32DataType
Float64DataType
FloatDataType
FloatEquality
FloatField
Fraction
A rational number.
FractionDataType
FractionEquality
FractionField
Int8DataType
Int16DataType
Int32DataType
Int64DataType
IntegerDataType
IntegerEquality
IntegerField
NaturalOrder<T extends Comparable>
Wraps around the natural order 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 track null values.
NumericDataType
NumericEquality
NumericField
ObjectDataType<T>
Order<T>
Encapsulates a total order of objects.
Quaternion
A quaternion number of the form w + x*i + y*j + z*k.
QuaternionDataType
QuaternionEquality
QuaternionField
StringDataType
StringEquality
Uint8DataType
Uint16DataType
Uint32DataType
Uint64DataType

Functions

editDistance(String a, String b) → int
Computes the Levenshtein edit distance between two strings a and b: https://en.wikipedia.org/wiki/Levenshtein_distance