mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
[docs] Start working on DocC support
This commit is contained in:
1 parent
bef610feb8
commit
86bce28835
9 files changed
+477
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# ``BitCollections``
|
||||
|
||||
**Swift Collections** is an open-source package of data structure implementations for the Swift programming language.
|
||||
|
||||
## Overview
|
||||
|
||||
|
||||
|
||||
#### Additional Resources
|
||||
|
||||
- [`Swift Collections` on GitHub](https://github.com/apple/swift-collections/)
|
||||
- [`Swift Collections` on the Swift Forums](https://forums.swift.org/c/related-projects/collections/72)
|
||||
|
||||
|
||||
## Topics
|
||||
|
||||
### Structures
|
||||
|
||||
- ``BitSet``
|
||||
- ``BitArray``
|
||||
@@ -0,0 +1,84 @@
|
||||
# ``BitCollections/BitSet/Counted-swift.struct``
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Summary<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Overview
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Topics
|
||||
|
||||
### Binary Set Operations
|
||||
|
||||
- ``intersection(_:)-1wfb5``
|
||||
- ``intersection(_:)-4evdp``
|
||||
- ``intersection(_:)-9rtcc``
|
||||
- ``intersection(_:)-13us``
|
||||
|
||||
- ``union(_:)-2okwt``
|
||||
- ``union(_:)-pwqf``
|
||||
- ``union(_:)-18u31``
|
||||
- ``union(_:)-8ysz9``
|
||||
|
||||
- ``subtracting(_:)-7u4tf``
|
||||
- ``subtracting(_:)-5vgml``
|
||||
- ``subtracting(_:)-6scy1``
|
||||
- ``subtracting(_:)-82loi``
|
||||
|
||||
- ``symmetricDifference(_:)-84e40``
|
||||
- ``symmetricDifference(_:)-3suo3``
|
||||
- ``symmetricDifference(_:)-7zx5q``
|
||||
- ``symmetricDifference(_:)-46ni1``
|
||||
|
||||
- ``formIntersection(_:)-49and``
|
||||
- ``formIntersection(_:)-49a0x``
|
||||
- ``formIntersection(_:)-79anv``
|
||||
- ``formIntersection(_:)-3zoc4``
|
||||
|
||||
- ``formUnion(_:)-c6a3``
|
||||
- ``formUnion(_:)-c5kv``
|
||||
- ``formUnion(_:)-2f05x``
|
||||
- ``formUnion(_:)-8kilf``
|
||||
|
||||
- ``subtract(_:)-2hzty``
|
||||
- ``subtract(_:)-2i1qq``
|
||||
- ``subtract(_:)-32jtb``
|
||||
- ``subtract(_:)-75xgt``
|
||||
|
||||
- ``formSymmetricDifference(_:)-6vskl``
|
||||
- ``formSymmetricDifference(_:)-6vs05``
|
||||
- ``formSymmetricDifference(_:)-d2kd``
|
||||
- ``formSymmetricDifference(_:)-54ghn``
|
||||
|
||||
### Binary Set Predicates
|
||||
|
||||
- ``==(_:_:)``
|
||||
- ``isEqual(to:)-5bw9h``
|
||||
- ``isEqual(to:)-8jxq5``
|
||||
- ``isEqual(to:)-7w9qy``
|
||||
- ``isEqual(to:)-9tnfo``
|
||||
|
||||
- ``isSubset(of:)-8iy8c``
|
||||
- ``isSubset(of:)-1r41b``
|
||||
- ``isSubset(of:)-1dz0p``
|
||||
- ``isSubset(of:)-3bq5m``
|
||||
|
||||
- ``isSuperset(of:)-48i5c``
|
||||
- ``isSuperset(of:)-10gu8``
|
||||
- ``isSuperset(of:)-8b7lq``
|
||||
- ``isSuperset(of:)-6slai``
|
||||
|
||||
- ``isStrictSubset(of:)-5ry1b``
|
||||
- ``isStrictSubset(of:)-2ndu3``
|
||||
- ``isStrictSubset(of:)-9iul0``
|
||||
- ``isStrictSubset(of:)-2pq1j``
|
||||
|
||||
- ``isStrictSuperset(of:)-9mgmd``
|
||||
- ``isStrictSuperset(of:)-6hw4t``
|
||||
- ``isStrictSuperset(of:)-1ya0j``
|
||||
- ``isStrictSuperset(of:)-4qt1e``
|
||||
|
||||
- ``isDisjoint(with:)-9wyku``
|
||||
- ``isDisjoint(with:)-5fww0``
|
||||
- ``isDisjoint(with:)-6p0t7``
|
||||
- ``isDisjoint(with:)-eujj``
|
||||
@@ -0,0 +1,88 @@
|
||||
# ``BitCollections/BitSet``
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Summary<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Overview
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Topics
|
||||
|
||||
### Nested Structures
|
||||
|
||||
- ``Counted-swift.struct``
|
||||
|
||||
### Binary Set Operations
|
||||
|
||||
- ``intersection(_:)-84q4u``
|
||||
- ``intersection(_:)-8hcl9``
|
||||
- ``intersection(_:)-7l8p3``
|
||||
- ``intersection(_:)-7kgi``
|
||||
|
||||
- ``union(_:)-5kqmx``
|
||||
- ``union(_:)-6mj8``
|
||||
- ``union(_:)-50wc4``
|
||||
- ``union(_:)-10had``
|
||||
|
||||
- ``subtracting(_:)-79e0o``
|
||||
- ``subtracting(_:)-7re82``
|
||||
- ``subtracting(_:)-7rn26``
|
||||
- ``subtracting(_:)-42s7d``
|
||||
|
||||
- ``symmetricDifference(_:)-55kqn``
|
||||
- ``symmetricDifference(_:)-5xt65``
|
||||
- ``symmetricDifference(_:)-91kh8``
|
||||
- ``symmetricDifference(_:)-79wfx``
|
||||
|
||||
- ``formIntersection(_:)-u07v``
|
||||
- ``formIntersection(_:)-87gjl``
|
||||
- ``formIntersection(_:)-9gffv``
|
||||
- ``formIntersection(_:)-8t2je``
|
||||
|
||||
- ``formUnion(_:)-72o7q``
|
||||
- ``formUnion(_:)-370hb``
|
||||
- ``formUnion(_:)-7tw8j``
|
||||
- ``formUnion(_:)-12ll3``
|
||||
|
||||
- ``subtract(_:)-9aabm``
|
||||
- ``subtract(_:)-1o083``
|
||||
- ``subtract(_:)-6kijg``
|
||||
- ``subtract(_:)-3pynh``
|
||||
|
||||
- ``formSymmetricDifference(_:)-2le2k``
|
||||
- ``formSymmetricDifference(_:)-5edyr``
|
||||
- ``formSymmetricDifference(_:)-7wole``
|
||||
- ``formSymmetricDifference(_:)-8vcnf``
|
||||
|
||||
### Binary Set Predicates
|
||||
|
||||
- ``==(_:_:)``
|
||||
- ``isEqual(to:)-5zfpo``
|
||||
- ``isEqual(to:)-93d52``
|
||||
- ``isEqual(to:)-542zl``
|
||||
- ``isEqual(to:)-1d66i``
|
||||
|
||||
- ``isSubset(of:)-73apg``
|
||||
- ``isSubset(of:)-14xt1``
|
||||
- ``isSubset(of:)-4mj71``
|
||||
- ``isSubset(of:)-20wxs``
|
||||
|
||||
- ``isSuperset(of:)-1mfg2``
|
||||
- ``isSuperset(of:)-5adir``
|
||||
- ``isSuperset(of:)-4y68t``
|
||||
- ``isSuperset(of:)-2m7mj``
|
||||
|
||||
- ``isStrictSubset(of:)-8m1z6``
|
||||
- ``isStrictSubset(of:)-3y2l1``
|
||||
- ``isStrictSubset(of:)-97rky``
|
||||
- ``isStrictSubset(of:)-p3zj``
|
||||
|
||||
- ``isStrictSuperset(of:)-6e5gm``
|
||||
- ``isStrictSuperset(of:)-735zn``
|
||||
- ``isStrictSuperset(of:)-26acy``
|
||||
- ``isStrictSuperset(of:)-5jmxx``
|
||||
|
||||
- ``isDisjoint(with:)-2cdg6``
|
||||
- ``isDisjoint(with:)-3klxy``
|
||||
- ``isDisjoint(with:)-4uidy``
|
||||
- ``isDisjoint(with:)-78a8w``
|
||||
@@ -0,0 +1,38 @@
|
||||
# ``Collections``
|
||||
|
||||
**Swift Collections** is an open-source package of data structure implementations for the Swift programming language.
|
||||
|
||||
## Overview
|
||||
|
||||
|
||||
|
||||
#### Additional Resources
|
||||
|
||||
- [`Swift Collections` on GitHub](https://github.com/apple/swift-collections/)
|
||||
- [`Swift Collections` on the Swift Forums](https://forums.swift.org/c/related-projects/collections/72)
|
||||
|
||||
|
||||
## Topics
|
||||
|
||||
### Bit Collections
|
||||
|
||||
- ``BitSet``
|
||||
- ``BitArray``
|
||||
|
||||
### Deque Module
|
||||
|
||||
- ``Deque``
|
||||
|
||||
### Heap Module
|
||||
|
||||
- ``Heap``
|
||||
|
||||
### Ordered Collections
|
||||
|
||||
- ``OrderedSet``
|
||||
- ``OrderedDictionary``
|
||||
|
||||
### Persistent Collections
|
||||
|
||||
- ``PersistentSet``
|
||||
- ``PersistentDictionary``
|
||||
@@ -0,0 +1,8 @@
|
||||
# ``DequeModule``
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Summary<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Overview
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@-->
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
# ``HeapModule``
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Summary<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Overview
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Topics
|
||||
|
||||
### Structures
|
||||
|
||||
- ``Heap``
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
# ``OrderedCollections/OrderedSet/UnorderedView``
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Summary<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Overview
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Topics
|
||||
|
||||
### Binary Set Operations
|
||||
|
||||
- ``intersection(_:)-3q45l``
|
||||
- ``intersection(_:)-6ee3o``
|
||||
|
||||
- ``union(_:)-79uk3``
|
||||
- ``union(_:)-23dm1``
|
||||
|
||||
- ``subtracting(_:)-3ct1b``
|
||||
- ``subtracting(_:)-8e6mw``
|
||||
|
||||
- ``symmetricDifference(_:)-6aed7``
|
||||
- ``symmetricDifference(_:)-7r79p``
|
||||
|
||||
- ``formIntersection(_:)-4ow38``
|
||||
- ``formIntersection(_:)-80iht``
|
||||
|
||||
- ``formUnion(_:)-6ijb``
|
||||
- ``formUnion(_:)-8tuol``
|
||||
|
||||
- ``subtract(_:)-627eq``
|
||||
- ``subtract(_:)-4pjhu``
|
||||
|
||||
- ``formSymmetricDifference(_:)-8pkt5``
|
||||
- ``formSymmetricDifference(_:)-75z52``
|
||||
|
||||
### Binary Set Predicates
|
||||
|
||||
- ``==(_:_:)``
|
||||
|
||||
- ``isSubset(of:)-n4t7``
|
||||
- ``isSubset(of:)-2dx31``
|
||||
- ``isSubset(of:)-801lo``
|
||||
- ``isSubset(of:)-952h5``
|
||||
|
||||
- ``isSuperset(of:)-4ea6h``
|
||||
- ``isSuperset(of:)-9t33p``
|
||||
- ``isSuperset(of:)-2vtig``
|
||||
- ``isSuperset(of:)-9krpz``
|
||||
|
||||
- ``isStrictSubset(of:)-33z0l``
|
||||
- ``isStrictSubset(of:)-9o6mg``
|
||||
- ``isStrictSubset(of:)-91par``
|
||||
- ``isStrictSubset(of:)-7n66e``
|
||||
|
||||
- ``isStrictSuperset(of:)-8pbce``
|
||||
- ``isStrictSuperset(of:)-89ig3``
|
||||
- ``isStrictSuperset(of:)-1e0xt``
|
||||
- ``isStrictSuperset(of:)-5dsfd``
|
||||
|
||||
- ``isDisjoint(with:)-7sbsg``
|
||||
- ``isDisjoint(with:)-3wuso``
|
||||
- ``isDisjoint(with:)-25vmx``
|
||||
- ``isDisjoint(with:)-8nfqs``
|
||||
@@ -0,0 +1,142 @@
|
||||
# ``OrderedCollections/OrderedSet``
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Summary<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Overview
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Topics
|
||||
|
||||
### Creating a Set
|
||||
|
||||
- ``init()``
|
||||
- ``init(_:)-5zktd``
|
||||
- ``init(_:)-3d7qr``
|
||||
- ``init(_:)-68j7``
|
||||
- ``init(_:)-8zm9d``
|
||||
- ``init(_:)-7rt2h``
|
||||
- ``init(_:)-8tli8``
|
||||
- ``init(_:)-2d3a9``
|
||||
- ``init(uncheckedUniqueElements:)``
|
||||
- ``init(minimumCapacity:persistent:)``
|
||||
|
||||
### Collection Views
|
||||
|
||||
- ``UnorderedView``
|
||||
- ``unordered``
|
||||
- ``elements``
|
||||
|
||||
### Finding Elements
|
||||
|
||||
- ``contains(_:)``
|
||||
- ``firstIndex(of:)``
|
||||
- ``lastIndex(of:)``
|
||||
|
||||
### Adding Elements
|
||||
|
||||
- ``append(_:)``
|
||||
- ``append(contentsOf:)``
|
||||
- ``insert(_:at:)``
|
||||
- ``updateOrAppend(_:)``
|
||||
- ``updateOrInsert(_:at:)``
|
||||
- ``update(_:at:)``
|
||||
|
||||
### Removing Elements
|
||||
|
||||
- ``filter(_:)``
|
||||
- ``removeAll(where:)``
|
||||
- ``remove(_:)``
|
||||
- ``remove(at:)``
|
||||
- ``removeAll(keepingCapacity:)``
|
||||
- ``removeFirst()``
|
||||
- ``removeLast()``
|
||||
- ``removeFirst(_:)``
|
||||
- ``removeLast(_:)``
|
||||
- ``removeSubrange(_:)-62u6a``
|
||||
- ``removeSubrange(_:)-2fqke``
|
||||
|
||||
### Combining Sets
|
||||
|
||||
- ``intersection(_:)-4o09a``
|
||||
- ``intersection(_:)-9yzg3``
|
||||
- ``intersection(_:)-80md4``
|
||||
|
||||
- ``union(_:)-67y2h``
|
||||
- ``union(_:)-3lt5i``
|
||||
- ``union(_:)-2939h``
|
||||
|
||||
- ``subtracting(_:)-5graf``
|
||||
- ``subtracting(_:)-7kl8r``
|
||||
- ``subtracting(_:)-1gl4y``
|
||||
|
||||
- ``symmetricDifference(_:)-1810l``
|
||||
- ``symmetricDifference(_:)-8dvm6``
|
||||
- ``symmetricDifference(_:)-9huk7``
|
||||
|
||||
- ``formIntersection(_:)-43o1u``
|
||||
- ``formIntersection(_:)-2a4y4``
|
||||
- ``formIntersection(_:)-7odn2``
|
||||
|
||||
- ``formUnion(_:)-6pksr``
|
||||
- ``formUnion(_:)-3dkzw``
|
||||
- ``formUnion(_:)-59end``
|
||||
|
||||
- ``subtract(_:)-3b6nj``
|
||||
- ``subtract(_:)-9rtmd``
|
||||
- ``subtract(_:)-9wmg8``
|
||||
|
||||
- ``formSymmetricDifference(_:)-96csi``
|
||||
- ``formSymmetricDifference(_:)-2ll2z``
|
||||
- ``formSymmetricDifference(_:)-391sm``
|
||||
|
||||
### Comparing Sets
|
||||
|
||||
- ``==(_:_:)``
|
||||
- ``isEqual(to:)-69p52``
|
||||
- ``isEqual(to:)-1xzfo``
|
||||
- ``isEqual(to:)-3ab2q``
|
||||
|
||||
- ``isSubset(of:)-ptij``
|
||||
- ``isSubset(of:)-3mw6r``
|
||||
- ``isSubset(of:)-8yb29``
|
||||
- ``isSubset(of:)-9hxl4``
|
||||
|
||||
- ``isSuperset(of:)-4rrsh``
|
||||
- ``isSuperset(of:)-2bbv8``
|
||||
- ``isSuperset(of:)-7xvog``
|
||||
- ``isSuperset(of:)-7oow7``
|
||||
|
||||
- ``isStrictSubset(of:)-8m21h``
|
||||
- ``isStrictSubset(of:)-9lv3x``
|
||||
- ``isStrictSubset(of:)-4efhn``
|
||||
- ``isStrictSubset(of:)-10abw``
|
||||
|
||||
- ``isStrictSuperset(of:)-7u97x``
|
||||
- ``isStrictSuperset(of:)-3kfwa``
|
||||
- ``isStrictSuperset(of:)-98d9s``
|
||||
- ``isStrictSuperset(of:)-5e6d5``
|
||||
|
||||
- ``isDisjoint(with:)-6vmoh``
|
||||
- ``isDisjoint(with:)-4tsmx``
|
||||
- ``isDisjoint(with:)-54iy6``
|
||||
- ``isDisjoint(with:)-7nqur``
|
||||
|
||||
### Reordering Elements
|
||||
|
||||
- ``swapAt(_:_:)``
|
||||
- ``sort()``
|
||||
- ``sort(by:)``
|
||||
- ``reverse()``
|
||||
- ``shuffle()``
|
||||
- ``shuffle(using:)``
|
||||
- ``partition(by:)``
|
||||
|
||||
### Creating and Applying Differences
|
||||
|
||||
- ``difference(from:)-30bkk``
|
||||
- ``applying(_:)``
|
||||
|
||||
### Memory Management
|
||||
|
||||
- ``reserveCapacity(_:)``
|
||||
@@ -0,0 +1,20 @@
|
||||
# ``OrderedCollections``
|
||||
|
||||
**Swift Collections** is an open-source package of data structure implementations for the Swift programming language.
|
||||
|
||||
## Overview
|
||||
|
||||
|
||||
|
||||
#### Additional Resources
|
||||
|
||||
- [`Swift Collections` on GitHub](https://github.com/apple/swift-collections/)
|
||||
- [`Swift Collections` on the Swift Forums](https://forums.swift.org/c/related-projects/collections/72)
|
||||
|
||||
|
||||
## Topics
|
||||
|
||||
### Structures
|
||||
|
||||
- ``OrderedSet``
|
||||
- ``OrderedDictionary``
|
||||
Reference in new issue
Block a user