mirror of
https://github.com/apple/swift-collections
synced 2026-11-27 04:54:21 +00:00
[SetAlgebra types] isEqual(to:) → isEqualSet(to:)
The `isEqual(to:)` methods are a bit too confusing — they implement mathematical set comparisons (ignoring element ordering and, in the case of the Sequence variant, even element multiplicities), so it seems better to highlight this by putting a `Set` in the name.
This commit is contained in:
1 parent
1b53fc88d5
commit
8f7d5fd505
28 files changed
+146
-122
No files matched your search
@@ -27,11 +27,11 @@
|
||||
|
||||
### Adding Elements
|
||||
|
||||
- ``append(_:)``
|
||||
- ``append(_:)-8dqhn``
|
||||
- ``append(contentsOf:)-18dwf``
|
||||
- ``append(contentsOf:)-576q4``
|
||||
- ``append(contentsOf:)-8xkr8``
|
||||
- ``insert(_:at:)``
|
||||
- ``insert(_:at:)-9t4hf``
|
||||
- ``insert(contentsOf:at:)-7e1xn``
|
||||
- ``insert(contentsOf:at:)-35dp3``
|
||||
- ``insert(contentsOf:at:)-1wsgw``
|
||||
@@ -46,8 +46,8 @@
|
||||
- ``removeSubrange(_:)-18qe7``
|
||||
- ``removeLast()``
|
||||
- ``removeLast(_:)``
|
||||
- ``removeFirst()``
|
||||
- ``removeFirst(_:)``
|
||||
- ``removeFirst()-dcsp``
|
||||
- ``removeFirst(_:)-9nqlo``
|
||||
- ``popLast()``
|
||||
|
||||
### Replacing Elements
|
||||
|
||||
Reference in new issue
Block a user