Package-level declarations
Types
A function type that allocates and returns a ByteArray.
Serializer for ByteArrayAllocator. Serializes the result of invoking the allocator.
Serializes DateTime as its raw DateTime.unixMillis and deserializes in the same way
Diff object which contains information about differences between two Iterables
Realization of this interface will contains at least one not null - optionalT1 or optionalT2
This type Either will always have not nullable optionalT1
This type Either will always have not nullable optionalT2
This is just an implementation from this commentary of Kotlin JS issue related to the absence of Intersection Observer API
Contains of1 as main value, where 100% of percentage is when of1 == 1
Implementation of SimpleMapper that uses lambda functions for conversion.
Implementation of SimpleSuspendableMapper that uses suspending lambda functions for conversion.
A suspending function type that allocates and returns a ByteArray.
Properties
Converts this ByteArray to a ByteArrayAllocator that returns this array.
Converts this ByteArray to a SuspendByteArrayAllocator that returns this array.
Converts this ByteArrayAllocator to a SuspendByteArrayAllocator.
Functions
This method call calculateDiff with strict mode strictComparison and then apply differences to this mutable list
This method call calculateDiff and then apply differences to this mutable list
Converts this SuspendByteArrayAllocator to a ByteArrayAllocator by invoking it and wrapping the result in a non-suspending allocator.
This method call calculateDiff with strict mode enabled
Creates simple Comparator which will use compareTo of T for both objects
Returns Optional.data if Optional.dataPresented of this is true, or call block and returns the result of it
Returns Optional.data if Optional.dataPresented of this is true, or null otherwise
Returns Optional.data if Optional.dataPresented of this is true, or throw throwable otherwise
Will return this if Percentage.of1 in 0 .. 1 range
Will return this if Percentage.of1 in 0 .. 1 range. Otherwise, will throw error IllegalArgumentException due to require failure
Joins elements of this iterable into a list with a constant separator between elements. Optional prefix and postfix can be added to the result. Null separators are skipped.
Joins elements of this iterable into a list with separators between elements. Separators are generated using separatorFun. Optional prefix and postfix can be added to the result. Null values from separator function are skipped.
Joins elements of this array into an array with a constant separator between elements. Each element is transformed using transform. Optional prefix and postfix can be added to the result. Null values from transformations or separators are skipped.
Joins elements of this array into an array with separators between elements. Each element is transformed using transform, and separators are generated using separatorFun. Optional prefix and postfix can be added to the result. Null values from transformations or separator function are skipped.
Joins elements of this iterable into a list with a constant separator between elements. Each element is transformed using transform. Optional prefix and postfix can be added to the result. Null values from transformations or separators are skipped.
Joins elements of this iterable into a list with separators between elements. Each element is transformed using transform, and separators are generated using separatorFun. Optional prefix and postfix can be added to the result. Null values from transformations or separator function are skipped.
Will call block when data presented (Optional.dataPresented == true)
Will call block when data presented (Optional.dataPresented == true)
Will call block when data presented (Optional.dataPresented == true)
Will try to execute action and, if any exception will happen, execution will be retried. This process will happen at most count times. There is no any limits on count value, but action will run at least once and retryOnFailure will return its result if it is successful
Reverse this. Result will contain Diff.added on Diff.removed (and vice-verse), all the Diff.replaced values will be reversed too
Reverse this. Result will contain MapDiff.added on MapDiff.removed (and vice-verse), all the MapDiff.changed values will be reversed too
Creates a SimpleMapper using the provided conversion functions.
Creates a SimpleSuspendableMapper using the provided suspending conversion functions.
Convert this to Byte with bounds of Byte.MIN_VALUE and Byte.MAX_VALUE
Convert this to Byte with bounds of Byte.MIN_VALUE and Byte.MAX_VALUE
Convert this to Byte with bounds of Byte.MIN_VALUE and Byte.MAX_VALUE
Convert this to Int with bounds of Int.MIN_VALUE and Int.MAX_VALUE
Convert this to Short with bounds of Short.MIN_VALUE and Short.MAX_VALUE
Convert this to Short with bounds of Short.MIN_VALUE and Short.MAX_VALUE