SortedArray
OrderdDictionary
SortedDictionary
Stack
Matrix
Tree
LinkedList
AnySequenceWrapping
head: Element?
tail: Array<Element>
destructured: (Element, Array<Element>)
subscript (safe: Int) -> Element?
second: Element?
penultimate: Element?
last(amount: Int) -> [Element]
removeFirst() throws
removeFirst(amount: Int) throws
removeLast(amount: Int) throws
replaceElement(at index: Int, withElement newElement: Element) throws
replaceLast(with element: Element) throws
replaceFirst(with element: Element) throws
subsets(cardinality: Int) -> [[Iterator.Element]]
adjacentPairs: [(Element,Element)]
stableSort()
cases: [Self]
Integrate Collections into your OSX or iOS project with Carthage.
- Follow these instructions to install Carthage, if necessary.
- Add
github "dn-m/Collections"
to your Cartfile. - Follow these instructions to integrate Collections into your OSX or iOS project.
See the documentation.