Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class SortedKeyValueSequence<TKey : Comparable<TKey>, out TValue> : SortedKeyValueIteratorProvider<TKey, TValue> , Sequence<Pair<TKey, TValue>>
Represents a sequence of key-value pairs that are sorted by key. This class provides operations for working with sorted sequences like mapping values, grouping and joining.
Link copied to clipboard
class SortedSequence<TKey : Comparable<TKey>, out TValue> : SortedKeyValueIteratorProvider<TKey, TValue> , Sequence<TValue>
Represents a sequence of elements that are sorted by key. This class provides operations for working with sorted sequences like mapping values, grouping and joining.
Functions
Link copied to clipboard
fun <TKey : Comparable<TKey>, TValue> SortedKeyValueSequence<TKey, TValue>.interleaveByKey(other: SortedKeyValueIteratorProvider<TKey, TValue>): SortedKeyValueSequence<TKey, TValue>
Interleaves key-value pairs from this sequence with those from another sequence while maintaining sort order.
fun <TKey : Comparable<TKey>, TValue> SortedSequence<TKey, TValue>.interleaveByKey(other: SortedKeyValueIteratorProvider<TKey, TValue>): SortedSequence<TKey, TValue>
Interleaves elements from this sequence with those from another sequence while maintaining sort order.