utils/utils library
Classes
- AmountConverter
- Handles conversions between human-readable amounts and base units.
- AmountConverterUtils
- Utility class for converting amounts between decimal and base units.
- BigintUtils
- BigRational
- Represents a rational number with arbitrary precision using BigInt for the numerator and denominator.
- BinaryOps
- BitUtils
- Class container for bit utility functions.
- BytesUtils
- A utility class for working with binary data represented as lists of integers (bytes).
- ComparableBigIntRange
- ComparableIntRange
-
ComparableRange<
T> - CompareUtils
-
ConstantEquality<
T extends ConstantEquality< T> > - DynamicByteTracker
- A utility class for tracking bytes dynamically.
-
Either<
L, R> - Equality
-
Err<
T extends Object?, E extends Object?> - HashCodeGenerator
- A utility class for generating consistent and efficient hash codes for collections and objects.
- IntUtils
- Utility class for integer-related operations and conversions.
- JsonParser
-
Left<
L, R> -
Ok<
T extends Object?, E extends Object?> - PartialEquality
-
Result<
T extends Object?, E extends Object?> - A Rust-like Result type
-
Right<
L, R> - SafeAtomicLock
- A hybrid atomic lock — safe, fast, and error-proof.
- StringUtils
- A utility class for working with strings and common string operations.
Enums
- LockId
- Unique IDs for different locks.
- StringEncoding
- An enumeration representing different string encoding options.
Extensions
-
JSONHelper
on Map<
K, V>