mirror of
https://github.com/apple/swift-collections
synced 2026-11-30 05:18:44 +00:00
[BitCollections] Categorize member APIs
This commit is contained in:
1 parent
de22bed429
commit
0120dd1d79
3 files changed
+162
-3
No files matched your search
@@ -0,0 +1,72 @@
|
||||
# ``BitCollections/BitArray``
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Summary<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Overview
|
||||
|
||||
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@-->
|
||||
|
||||
## Topics
|
||||
|
||||
### Creating a Bit Array
|
||||
|
||||
- ``init()``
|
||||
- ``init(_:)-2y0wv``
|
||||
- ``init(repeating:count:)-4j5yd``
|
||||
- ``init(_:)-6ldyw``
|
||||
- ``init(_:)-4tksd``
|
||||
- ``init(_:)-765d2``
|
||||
- ``init(bitPattern:)``
|
||||
- ``random(count:)``
|
||||
- ``random(count:using:)``
|
||||
|
||||
### Accessing Elements
|
||||
|
||||
- ``subscript(_:)-51ccj``
|
||||
- ``subscript(_:)-944vg``
|
||||
- ``first``
|
||||
- ``last``
|
||||
|
||||
### Adding Elements
|
||||
|
||||
- ``append(_:)``
|
||||
- ``append(contentsOf:)-18dwf``
|
||||
- ``append(contentsOf:)-576q4``
|
||||
- ``append(contentsOf:)-8xkr8``
|
||||
- ``insert(_:at:)``
|
||||
- ``insert(contentsOf:at:)-7e1xn``
|
||||
- ``insert(contentsOf:at:)-35dp3``
|
||||
- ``insert(contentsOf:at:)-1wsgw``
|
||||
- ``truncateOrExtend(toCount:with:)``
|
||||
|
||||
### Removing Elements
|
||||
|
||||
- ``remove(at:)-7ij12``
|
||||
- ``removeAll(keepingCapacity:)-5tkge``
|
||||
- ``removeAll(where:)-7tv7z``
|
||||
- ``removeSubrange(_:)-86ou8``
|
||||
- ``removeSubrange(_:)-18qe7``
|
||||
- ``removeLast()``
|
||||
- ``removeLast(_:)``
|
||||
- ``removeFirst()``
|
||||
- ``removeFirst(_:)``
|
||||
- ``popLast()``
|
||||
|
||||
### Replacing Elements
|
||||
|
||||
- ``fill(in:with:)``
|
||||
- ``fill(with:)``
|
||||
- ``replaceSubrange(_:with:)-163u2``
|
||||
- ``replaceSubrange(_:with:)-875d8``
|
||||
- ``replaceSubrange(_:with:)-2i7lu``
|
||||
- ``replaceSubrange(_:with:)-b5ou``
|
||||
|
||||
### Bitwise Operators
|
||||
|
||||
- ``&(_:_:)``
|
||||
- ``_(_:_:)-1rhw``
|
||||
- ``_(_:_:)-56s54``
|
||||
- ``~(_:)``
|
||||
- ``&=(_:_:)``
|
||||
- ``_=(_:_:)-69yf0``
|
||||
- ``_=(_:_:)-icef``
|
||||
Reference in new issue
Block a user