Files
swift-mirror/stdlib/stdlib.docc/order-dependent-operations-on-set.md
+3 9ead8781d4 Add .docc catalog to publish stdlib docs on swift.org
Co-authored-by: Alex Martini <amartini@apple.com>
Co-authored-by: Graham Lee <glee23@apple.com>
Co-authored-by: Chris Adamson <cadamson@apple.com>
Co-authored-by: Kirby Turner <kirby_turner@apple.com>
Co-authored-by: Paris Pinkney <ppinkney@apple.com>
Co-authored-by: Dave Spector <dspector@apple.com>
Co-authored-by: Sofia Rodriguez Morales <sofia_rodriguez@apple.com>
Co-authored-by: Ethan Kusters <ekusters@apple.com>
Co-authored-by: Goli Mohammadi <g_mohammadi@apple.com>
Co-authored-by: Adora Vaz <a_vaz@apple.com>
Co-authored-by: David Rönnqvist <ronnqvist@apple.com>
Co-authored-by: Nate Merseth Cook <natecook@apple.com>
Co-authored-by: Susan Conant <susan_c@apple.com>
2026-04-10 10:04:56 -04:00

58 lines
1.5 KiB
Markdown

# Order Dependent Operations on Set
Perform order-dependent operations common to all collections, as implemented for
`Set`.
## Topics
### Manipulating Indices
- ``Swift/Set/startIndex``
- ``Swift/Set/endIndex``
- ``Swift/Set/index(after:)``
- ``Swift/Set/formIndex(after:)``
- ``Swift/Set/index(_:offsetBy:)``
- ``Swift/Set/formIndex(_:offsetBy:)``
- ``Swift/Set/index(_:offsetBy:limitedBy:)``
- ``Swift/Set/formIndex(_:offsetBy:limitedBy:)``
- ``Swift/Set/distance(from:to:)``
- ``Swift/Set/indices-swift.property``
### Comparing Sets
- ``Swift/Set/elementsEqual(_:)``
- ``Swift/Set/elementsEqual(_:by:)``
- ``Swift/Set/lexicographicallyPrecedes(_:)``
- ``Swift/Set/lexicographicallyPrecedes(_:by:)``
- ``Swift/Set/starts(with:)``
- ``Swift/Set/starts(with:by:)``
### Selecting Elements
- ``Swift/Set/subscript(_:)``
- ``Swift/Set/prefix(_:)``
- ``Swift/Set/prefix(upTo:)``
- ``Swift/Set/prefix(through:)``
- ``Swift/Set/prefix(while:)``
- ``Swift/Set/suffix(_:)``
- ``Swift/Set/suffix(from:)``
### Excluding Elements
- ``Swift/Set/drop(while:)``
- ``Swift/Set/dropFirst(_:)``
- ``Swift/Set/dropLast(_:)``
- ``Swift/Set/popFirst()``
### Reversing a Set's Elements
- ``Swift/Set/reversed()``
### Splitting and Joining Elements
- ``Swift/Set/joined()``
- ``Swift/Set/joined(separator:)-7ubey``
- ``Swift/Set/joined(separator:)-1cko4``
- ``Swift/Set/split(separator:maxSplits:omittingEmptySubsequences:)``
- ``Swift/Set/split(maxSplits:omittingEmptySubsequences:whereSeparator:)``