Base class for the dictionary backed by a linked list.
public abstract class base list dictionary[readonly value key type, value value type]
implements readonly dictionary[key type, value type]
protected class entry cell[readonly value key type, value value type]
implements dictionary • entry[key type, value type]
private var value type the value
public overload entry cell(key type the key, value type the value, entry cell[key type, value type] or null next)
protected var nonnegative the size
protected overload base list dictionary(key type key, value type value, equivalence relation[key type] equivalence)
this • equivalence = equivalence
the size = 1
private entry cell[key type, value type] or null duplicate(entry cell[key type, value type] or null original) raw
Specifies whether the collection has more than zero elements.
Shortcut for !is_empty.
implement boolean is not empty => the size != 0
Enumerates elements in some collection-defined order.
This method returns a snapshot of the collection state, so subsequent mutations
of the collection do not cause changes in the returned list.
implement immutable list[dictionary • entry[key type, value type]] elements()
implement immutable set[key type] keys()
implement readonly collection[value type] values()