A module for collections.
You can find here the following mutable collection types:
Along with concrete implementations for each:
Packages | |
ceylon.collection |
Functions | |
group | Source Code shared Map<Group,{Element+}> group<Group, Element>({Element*} elements, Group grouping(Element element)) given Group satisfies Object Creates a elements, grouped in `Sequence`s under the keys provided by the grouping function. Parameters:
|
Interfaces | |
MutableList | Source Code A List supporting addition, insertion, removal, and mutation of its elements. |
MutableMap | Source Code A Map supporting addition of new entries and removal of existing entries. |
MutableSet | Source Code A Set supporting addition of new elements and removal of existing elements. |
Classes | |
HashMap | Source Code A MutableMap implemented as a hash map stored in an Array of singly linked lists of entries. The hash code of a key is defined by hash. |
HashSet | Source Code A MutableSet implemented as a hash set stored in an Array of singly linked lists. The hash code of an element is defined by hash. |
LinkedList | Source Code A MutableList implemented as a singly linked list. |