Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface CollectionLike<out E> : Iterable<E> , Collection<E>
Link copied to clipboard
Link copied to clipboard
interface Graph<out N, out E> : Collection<N>
Link copied to clipboard
expect interface Iterable<out E> : Iterable<E>
actual interface Iterable<out E> : Iterable<E>
actual interface Iterable<out E> : Iterable<E>
Link copied to clipboard
@Serializable(with = ListSerializer::class)
interface List<out E> : Collection<E> , List<E>
Link copied to clipboard
@Serializable(with = MapSerializer::class)
interface Map<K, out V> : MapLike<K, V> , Collection<MapEntry<K, V>>
Link copied to clipboard
interface MapEntry<out K, out V> : Map.Entry<K, V>
Link copied to clipboard
interface MapLike<K, out V> : Map<K, V> , CollectionLike<MapEntry<K, V>>
Link copied to clipboard
Link copied to clipboard
interface MutableGraph<N, E> : MutableCollection<N> , Graph<N, E>
Link copied to clipboard
@Serializable(with = MutableListSerializer::class)
interface MutableList<E> : List<E> , MutableList<E> , MutableCollection<E>
Link copied to clipboard
@Serializable(with = MutableMapSerializer::class)
interface MutableMap<K, V> : MutableMapLike<K, V> , Map<K, V>
Link copied to clipboard
interface MutableMapLike<K, V> : MapLike<K, V> , MutableMap<K, V>
Link copied to clipboard
@Serializable(with = MutableSetSerializer::class)
interface MutableSet<E> : Set<E> , MutableSet<E> , MutableCollection<E>
Link copied to clipboard
@Serializable(with = SetSerializer::class)
interface Set<out E> : Collection<E> , Set<E>

Functions

Link copied to clipboard
inline fun <N, E> buildDirectedGraph(vararg nodes: N, builder: MutableGraph<N, E>.() -> Unit): MutableGraph<N, E>
Link copied to clipboard
fun <N, E> directedGraphOf(vararg nodes: N): MutableGraph<N, E>
Link copied to clipboard
fun <N, E> graphOf(vararg nodes: N): Graph<N, E>
Link copied to clipboard
fun <E> iEmptyList(): List<E>
Link copied to clipboard
fun <K, V> iEmptyMap(): Map<K, V>
Link copied to clipboard
Link copied to clipboard
fun <E> iListOf(): List<E>
fun <E> iListOf(vararg elements: E): List<E>
Link copied to clipboard
fun <K, V> iMapOf(): Map<K, V>
fun <K, V> iMapOf(vararg pairs: MapEntry<K, V>): Map<K, V>
Link copied to clipboard
fun <E> iMutableListOf(vararg elements: E): MutableList<E>
Link copied to clipboard
fun <K, V> iMutableMapOf(vararg pairs: MapEntry<K, V>): MutableMap<K, V>
Link copied to clipboard
fun <E> iMutableSetOf(vararg elements: E): MutableSet<E>
Link copied to clipboard
fun <E> iSetOf(): Set<E>
fun <E> iSetOf(vararg elements: E): Set<E>
Link copied to clipboard
fun <K, V> pairOf(key: K, value: V): MapEntry<K, V>
Link copied to clipboard
infix fun <K, V> K.to(value: V): MapEntry<K, V>
Link copied to clipboard
inline fun <E> Array<E>.toIList(): List<E>
inline fun <E> Collection<E>.toIList(): List<E>
Link copied to clipboard
inline fun <K, V> Map<K, V>.toIMap(): Map<K, V>
Link copied to clipboard
Link copied to clipboard
inline fun <K, V> Map<K, V>.toIMutableMap(): MutableMap<K, V>
Link copied to clipboard
Link copied to clipboard
inline fun <E> Collection<E>.toISet(): Set<E>
Link copied to clipboard
fun <N, E> undirectedGraphOf(vararg nodes: N): MutableGraph<N, E>