Title: Theory / Unimportant / CS / Programming / Kotlin / Library / Collection
Tags: automatedNewLineAfterCommaSpace
On every note of this deck, unless a note says otherwise:
Language: Kotlin

Typ: IndexedValue<out T>
Meaning: Data class representing a value from a collection or sequence, along with its index in that collection or sequence.
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-indexed-value/
Language: Kotlin

Variable: indexedValue.index
Meaning: The index of indexedValue
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-indexed-value/
Language: Kotlin
Variables: IndexedValue<out T> indexedValue

Variable: indexedValue.value
Meaning: The value of indexedValue
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-indexed-value/
Language: Kotlin
Variables: IndexedValue<out T> indexedValue

Question: When to prefer sequence over iterable
Answer: For big collection, sequence ensure that we never need to have the full collection in memory
Page: https://kotlinlang.org/docs/sequences.html

Question: When to prefer iterable over sequence
Answer: For small collection, processing it all at once is more efficient than lazy processing on demain
Page: https://kotlinlang.org/docs/sequences.html
Context: Kotlin

Typ: Sequence<out T>
Function: Represents an iterator on values of type T, where values are lazily computed
Page: https://kotlinlang.org/docs/sequences.html
Language: Kotlin

Instruction: sequenceOf(
  val1,
  ...,
  val_n
)
Page: https://kotlinlang.org/docs/sequences.html
Returns: A sequence containing values val_1, ..., val_n

Instruction: iterable.asSequence()
Page: https://kotlinlang.org/docs/sequences.html
Returns: The sequence with same elements as iterable

Instruction: generateSequence(
  init,
  fn
)
Page: https://kotlinlang.org/docs/sequences.html
Returns: The sequence with value_0 = init, and value_{n+1}=fn(  value_n), up until null is returned

Instruction: sequence(generator)
Page: https://kotlinlang.org/docs/sequences.html
Returns: The sequence of elements yielded by generator

Name: A stateless operation
Definition: An operation that do not require state, that only depends on its input
Page: https://kotlinlang.org/docs/sequences.html
Context: Sequence

Name: A stateful operation
Definition: An operation that require a significant amount of state
Page: https://kotlinlang.org/docs/sequences.html
Context: Sequence

Name: An intermediate operation
Definition: An operation that returns another sequence
Page: https://kotlinlang.org/docs/sequences.html
Context: Sequence
Example: map

Name: A terminal operation
Definition: An operation that is not intermediate
Page: https://kotlinlang.org/docs/sequences.html
Context: Kotlin Sequence
Example: sum

Instruction: seq.iterator()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: an Iterator that returns the values from the sequence.
Variables: Sequence seq

Instruction: seq.all(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Whether all elements satisfy pred
Variables: Sequence seq

Instruction: seq.any(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Whether any elements satisfy pred
Variables: Sequence seq

Instruction: seq.asIterable()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: An iterable with the same elemnts
Variables: Sequence seq

Instruction: seq.asSequence()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence emitting same elements
Variables: Sequence seq

Instruction: seq.associate(transform)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A map with (key, value) outputted by transform applied on the elements of the sequence
Variables: Sequence seq

Instruction: seq.associateBy(transform)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A map with (key, value) outputted by transform(value) applied on the values of the sequence
Variables: Sequence seq

Instruction: seq.associateWith(transform)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A map with (key, value) outputted by transform(key) applied on the key of the sequence
Variables: Sequence seq

Instruction: seq.average()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The average value of elements in the sequence
Variables: Sequence seq

Instruction: seq.chunk(max_chunk_size)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence of lists of size at most max_chunk_size. The concatenation of the lists has the same content as seq
Variables: Sequence seq

Instruction: seq.constrainOnce()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Same sequence, but it can only by iterated once
Variables: Sequence seq

Instruction: seq.contains(value)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Whether seq contains value
Variables: Sequence seq

Instruction: seq.count(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Number of values in seq satisfying pred
Variables: Sequence seq

Instruction: seq.count()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Number of values in seq
Variables: Sequence seq

Instruction: seq.distinct()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Subset of seq where repeated elements are removed
Variables: Sequence seq

Instruction: seq.distinctBy(selector)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Subset of seq where elements with identical selector(seq) are removed
Variables: Sequence seq

Instruction: seq.drop(n)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: same as seq but omitting the n first elements
Variables: Sequence seq

Instruction: seq.dropWhile(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: same as seq but omitting the first elements satisfying pred
Variables: Sequence seq

Instruction: seq.elementAt(index)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The index-th element
Variables: Sequence seq
Exception: IndexOutOfBoundsException if the index is out of bounds of this sequence.

Instruction: seq.elementAtOrElse(
  index,
  else
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The index-th element if it exists, else otherwise
Variables: Sequence seq

Instruction: seq.FOOOrNull(index)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: same as seq.FOO(args) if possible, null otherwise
Variables: Sequence seq

Instruction: seq.filter(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Sequence, same as seq, containing only elements satisfying pred
Variables: Sequence seq

Instruction: seq.FOOIndexed(fn)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: same as seq.foo(fn), where fn also takes the element index as input
Variables: Sequence seq

Instruction: seq.FOOTo(
  collection,
  args
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Effect: add to collection, elements emitted by seq.FOO(args)
Variables: Sequence seq

Instruction: seq.filterIsInstance(klass)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Filter, same as seq, containing only elements which are instance of klass
Variables: Sequence seq

Instruction: seq.filterNot(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Same as seq, not satisfying pred
Variables: Sequence seq

Instruction: seq.filterNotNull()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Sequence of non null elements of seq
Variables: Sequence seq

Instruction: seq.find(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: First elements matchnig pred or null
Variables: Sequence seq

Instruction: seq.findLast(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Last element of seq matchnig pred or null
Variables: Sequence seq

Instruction: seq.first(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: First element of seq matchnig pred
Variables: Sequence seq
Exception: NoSuchElementException if no such element

Instruction: seq.(first|last)()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: (First|last) element of seq
Variables: Sequence seq
Exception: NoSuchElementException on empty seq

Instruction: seq.firstNotNullOf(transform)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The first non-null element returned by transform(value) for value emitted by the sequence
Variables: Sequence seq

Instruction: seq.flatMap(transform)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence returning all elements of sequence/iterables of transform(value)
Variables: Sequence seq

Instruction: seq.flatten()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sequence of elements emitted by the elements of seq
Variables: Sequence seq

Instruction: seq.forEach(action)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Effect: call action(value) for each value of seq
Variables: Sequence seq

Instruction: seq.groupBy(toKey)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Map that associated to each key the set of values of seq with the same key according to toKey(value)
Variables: Sequence seq

Instruction: seq.groupingBy(keySelector)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A grouping from values to keys keySelector(value)
Variables: Sequence seq

Instruction: seq.ifEmpty(seq2)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence with same content as seq if it's not empty, otherwise to seq2
Variables: Sequence seq

Instruction: seq.indexOf(elt)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Index of elt in the sequence, or -1 otherwise
Variables: Sequence seq

Instruction: seq.indexOf(First|Last)(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Index of (first|last) elt matching pred, or -1 otherwise
Variables: Sequence seq

Instruction: seq.joinTo(
  buffer,
  separator,
  prefix,
  postfix,
  limit,
  truncated,
  transform
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Effect: Add to the buffer prefix, at most limit transform(value)s of seq separated by separator, postfix (or truncated if the limit is reached)
Variables: Sequence seq

Instruction: seq.joinToString(
  separator,
  prefix,
  postfix,
  limit,
  truncated,
  transform
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: At most limit transform(  value)s of seq separated by separator, postfix (  or truncated if the limit is reached)
Variables: Sequence seq

Instruction: seq.map(transform)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence of transform(value) for value emitted by seq
Variables: Sequence seq

Instruction: seq.mapNotNull(transform)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence of the not null transform(value) for value emitted by seq
Variables: Sequence seq

Instruction: seq.maxByOrNull(selector)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: maximal value of seq, when compared according to selector(value)
Variables: Sequence seq

Instruction: seq.maxOf(selector)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: maximal value of selector(value) for value generated by seq
Variables: Sequence seq

Instruction: seq.maxOfWith(
  comparator,
  selector
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: max of selector(  value) according to comparator
Variables: Sequence seq

Instruction: seq.maxOrNull(selector)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: max of value according to selector(value)
Variables: Sequence seq

Instruction: seq.maxWithOrNull(comparator)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The max element of seq according to comparator
Variables: Sequence seq

Instruction: seq.minus(elt)
seq.minusElement(elt)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence with all elements of seq except for the first occurrence of elt
Variables: Sequence seq

Instruction: seq.minus(elts)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence with all elements of seq except for elements of elts
Variables: Sequence seq

Instruction: seq.none()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Whether the sequence has no element
Variables: Sequence seq

Instruction: seq.none(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Whether the sequence has no element satisfying pred
Variables: Sequence seq

Instruction: seq.onEach(action)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequence that output same elements as seq and execute action(value) for each such value
Variables: Sequence seq

Instruction: seq.orEmpty()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: seq?:sequenceOf()
Variables: Sequence seq

Instruction: seq.partition(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: list of elements satisfying pred, and list of elements not satisfying it
Variables: Sequence seq

Instruction: seq.plus(elt)
seq.plusElement(elt)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sequence seq followed by elt
Variables: Sequence seq

Instruction: seq.plus(elts)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sequence seq followed by elements of elts
Variables: Sequence seq

Instruction: seq.reduce(operation)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: value_1 operation ... operation value_n for value_1, ..., value_n emitted by seq
Variables: Sequence seq

Instruction: seq.requireNonulls()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Same as seq , but throw IllegalArgumentException on first null
Variables: Sequence seq

Instruction: seq.runningFold(
  initial,
  operation
)
seq.scan(
  initial,
  operation
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequenc returning
(  initial operation value_1 operation ... value_i)_{0<=i<=n} for each value_1,..., value_n emitted by sequence
Variables: Sequence seq

Instruction: seq.runningReduce(operation)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A sequenc returning
(value_1 operation ... value_i)_{0<=i<=n} for each value_1,..., value_n emitted by sequence
Variables: Sequence seq

Instruction: seq.shuffled()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: sequence with same elements, shuffled
Variables: Sequence seq

Instruction: seq.single()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The single element of seq
Variables: Sequence seq
Exception: if zero or many elements

Instruction: seq.single(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The single element of seq satisfying pred
Variables: Sequence seq
Exception: if zero or many elements satisfy pred

Instruction: seq.sorted(Descending|)()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: the sequence with same elements as seq, sorted
Variables: Sequence seq

Instruction: seq.sortedBy(Descending|)(selector)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: the sequence with same elements as seq, sorted according to selector
Variables: Sequence seq

Instruction: seq.sortedWith(comparator)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: the sequence with same elements as seq, sorted according to comparator
Variables: Sequence seq

Instruction: seq.sum()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sum of the elements of seq
Variables: Sequence seq

Instruction: seq.sumOf(selector)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sum of the selector(value) for value elements of seq
Variables: Sequence seq

Instruction: seq.take(n)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Sequence with the first n elements of seq
Variables: Sequence seq

Instruction: seq.takeWhile(pred)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Sequence with the first elements of seq while pred holds
Variables: Sequence seq

Instruction: seq.toCollection(collection)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: add all elements of seq to collection
Variables: Sequence seq

Instruction: seq.to(List|MutableList|Set|MutableSet|HashSet|SortedSet)()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A list/set of elements of seq
Variables: Sequence seq

Instruction: seq.toMap()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: A map generated by pair(key, value) generated by seq
Variables: Sequence seq

Instruction: seq.unzip()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: Pair of list of first and list of second elements of seq
Variables: Sequence seq

Instruction: seq.windowed(
  size,
  step = 1,
  partialWindows = false
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sequence of window of size successive elements generated by seq. One window out of step. Allowing partial window
Variables: Sequence seq

Instruction: seq.withIndex()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sequence of IndexValue of elements of seq
Variables: Sequence seq

Instruction: leftSeq.zip(rightSeq)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sequence of pair from leftSeq and rightSeq. Halting as soon as one sequence halts
Variables: Sequence seq

Instruction: left.zipWithNext()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/
Returns: The sequence of pair of successive elements from seq
Variables: Sequence seq

Typ: FileTreeWalk
Meaning: implement different file traversal methods
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Language: Kotlin
Variables: Sequence seq
Subtype of: Sequence<File>

Instruction: fileTreeWalk.makDepth(depth)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Effect: Sets the maximum depth of a directory tree to traverse.
Variables: FileTreeWalk fileTreeWalk
Typ: FileTreeWalk

Instruction: fileTreeWalk.onEnter(fn)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Effect: call fn when entering a new directory
Variables: FileTreeWalk fileTreeWalk

Instruction: fileTreeWalk.onFail(fn)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Effect: call fn(file, exception) when it's impsosible to get a file list
Variables: FileTreeWalk fileTreeWalk

Instruction: fileTreeWalk.onLeave(fn)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Effect: call fn(file) when leaving a directory
Variables: FileTreeWalk fileTreeWalk

Typ: Map<K, out V>
Meaning: A collection that holds pairs of objects (keys and values) and supports efficiently retrieving the value corresponding to each key.
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/
Language: Kotlin

Typ: Entry<out K, out V>
Meaning: Represents a key/value pair held by a Map.
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/
Language: Kotlin

Variable: entry.key
Meaning: the key of the entry
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/
Language: Kotlin
Variables: Entry<out K, out V> entry

Variable: entry.value
Meaning: the value of the entry
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/
Language: Kotlin
Variables: Entry<out K, out V> entry

Instruction: entry.toPair()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/
Returns: The pair (key, value)
Variables: Entry<out K, out V> entry

Typ: MutableEntry<K, V>
Meaning: A key-value entry of a mutable map
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/
Variables: Entry<out K, out V> entry
Language: Kotlin

Instruction: mutableEntry.setValue(v)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/
Effect: Change the value associated to mutableEntry.key to v
Variables: MutableEntry<out K, out V> mutableEntry

Instruction: mutableEntry.entries
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: Returns a read-only Set of all key/value pairs in this map.
Variables: Map<K, V>
Typ: Set<Entry<K, V>>

Instruction: map.keys
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: A read only set of keys of map
Variables: Map<K, V> map

Instruction: map.values
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: A read only set of values of map
Variables: Map<K, V> map

Instruction: map.size
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: The number of elements in this map
Variables: Map<K, V> map

Instruction: map.containsKey(key)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: Whether map contains key
Variables: Map<K, V> map

Instruction: map.containsValue(key)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: Whether map contains value
Variables: Map<K, V> map

Instruction: map.get(key)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: Value associated to key in map, or null
Variables: Map<K, V> map

Instruction: map.getOrDefault(
  key,
  default
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: Value associated to key in map, or default
Variables: Map<K,
  V> map

Instruction: map.isEmpty()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Returns: Whether the map is empty
Variables: Map<K, V> map

Instruction: map.extensiosn
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/
Effect: todo
Returns: Whether the map is empty
Variables: Map<K, V> map

Typ: Appendable
Meaning: An object to which char sequences and values can be appended.
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-appendable/
Language: Kotlin

Instruction: appendable.append(value)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-appendable/
Effect: Appends the specified character value to this Appendable and returns this instance.
Variables: Appendable appendable

Instruction: appendable.appendLine()
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-appendable/
Effect: Appends a line feed character (\n) to this Appendable
Variables: Appendable appendable

Instruction: appendable.appendRange(
  value,
  startIndex,
  endIndex
)
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-appendable/
Effect: apend value[startIndex, endIndex] to appendable
Variables: Appendable appendable

Typ: StringBuilder todo
Meaning: A mutable sequence of characters.
String builder can be used to efficiently perform multiple string manipulation operations.
Page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-appendable/
Language: Kotlin
Subtype of: Appendable, CharSequence