From 24adfd8f29fbdc12ccb196fdad5ae399c1aa458a Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Tue, 15 Nov 2022 14:50:57 -0800 Subject: [PATCH] [HashTreeCollections] Update links in docs --- ...areableDictionary.md => TreeDictionary.md} | 34 +++---- .../{ShareableSet.md => TreeSet.md} | 90 +++++++++---------- .../Extensions/TreeDictionary.md | 34 +++---- .../Extensions/TreeSet.md | 90 +++++++++---------- .../TreeSet/TreeSet+Equatable.swift | 2 +- 5 files changed, 125 insertions(+), 125 deletions(-) rename Sources/Collections/Collections.docc/Extensions/{ShareableDictionary.md => TreeDictionary.md} (76%) rename Sources/Collections/Collections.docc/Extensions/{ShareableSet.md => TreeSet.md} (79%) diff --git a/Sources/Collections/Collections.docc/Extensions/ShareableDictionary.md b/Sources/Collections/Collections.docc/Extensions/TreeDictionary.md similarity index 76% rename from Sources/Collections/Collections.docc/Extensions/ShareableDictionary.md rename to Sources/Collections/Collections.docc/Extensions/TreeDictionary.md index 88b08dab..23aeb80d 100644 --- a/Sources/Collections/Collections.docc/Extensions/ShareableDictionary.md +++ b/Sources/Collections/Collections.docc/Extensions/TreeDictionary.md @@ -28,25 +28,25 @@ mutation, its `Values` view is not a `MutableCollection`. ### Creating a Dictionary - ``init()`` -- ``init(_:)-68s80`` -- ``init(_:)-2ngkk`` -- ``init(uniqueKeysWithValues:)-688fi`` -- ``init(uniqueKeysWithValues:)-3h2xe`` -- ``init(_:uniquingKeysWith:)-6t92n`` -- ``init(_:uniquingKeysWith:)-9opgv`` -- ``init(grouping:by:)-6ddmm`` -- ``init(grouping:by:)-9rc24`` +- ``init(_:)-111p1`` +- ``init(_:)-9atjh`` +- ``init(uniqueKeysWithValues:)-2hosl`` +- ``init(uniqueKeysWithValues:)-92276`` +- ``init(_:uniquingKeysWith:)-6nofo`` +- ``init(_:uniquingKeysWith:)-99403`` +- ``init(grouping:by:)-a4ma`` +- ``init(grouping:by:)-4he86`` - ``init(keys:valueGenerator:)`` ### Inspecting a Dictionary -- ``isEmpty-25p4`` -- ``count-8s588`` +- ``isEmpty-6icj0`` +- ``count-ibl8`` ### Accessing Keys and Values -- ``subscript(_:)-6jbab`` +- ``subscript(_:)-8gx3j`` - ``subscript(_:default:)`` - ``index(forKey:)`` @@ -62,12 +62,12 @@ operation.) `TreeDictionary` also provides the standard `merge` and - ``updateValue(_:forKey:)`` - ``updateValue(forKey:with:)`` - ``updateValue(forKey:default:with:)`` -- ``merge(_:uniquingKeysWith:)-218dc`` -- ``merge(_:uniquingKeysWith:)-8gdr2`` -- ``merge(_:uniquingKeysWith:)-6j72k`` -- ``merging(_:uniquingKeysWith:)-88sah`` -- ``merging(_:uniquingKeysWith:)-2qknu`` -- ``merging(_:uniquingKeysWith:)-3hao7`` +- ``merge(_:uniquingKeysWith:)-59cm5`` +- ``merge(_:uniquingKeysWith:)-38axt`` +- ``merge(_:uniquingKeysWith:)-3s4cw`` +- ``merging(_:uniquingKeysWith:)-3khxe`` +- ``merging(_:uniquingKeysWith:)-1k63w`` +- ``merging(_:uniquingKeysWith:)-87wp7`` ### Removing Keys and Values diff --git a/Sources/Collections/Collections.docc/Extensions/ShareableSet.md b/Sources/Collections/Collections.docc/Extensions/TreeSet.md similarity index 79% rename from Sources/Collections/Collections.docc/Extensions/ShareableSet.md rename to Sources/Collections/Collections.docc/Extensions/TreeSet.md index 5348aa15..5a0a996f 100644 --- a/Sources/Collections/Collections.docc/Extensions/ShareableSet.md +++ b/Sources/Collections/Collections.docc/Extensions/TreeSet.md @@ -74,9 +74,9 @@ average -- typically they will need to compare against just one member. ### Creating a Set - ``init()`` -- ``init(_:)-1qufh`` -- ``init(_:)-49yo2`` -- ``init(_:)-56pm1`` +- ``init(_:)-2uun3`` +- ``init(_:)-714nu`` +- ``init(_:)-6lt4a`` ### Finding Elements @@ -106,37 +106,37 @@ but `TreeSet` follows the tradition established by `Set` in providing additional overloads to each operation that allow combining a set with additional types, including arbitrary sequences. -- ``intersection(_:)-8few3`` -- ``intersection(_:)-61b7q`` -- ``intersection(_:)-2ncm4`` +- ``intersection(_:)-8ltpr`` +- ``intersection(_:)-9kwc0`` +- ``intersection(_:)-4u7ew`` -- ``union(_:)-3e3nw`` -- ``union(_:)-8twku`` -- ``union(_:)-9f4y4`` +- ``union(_:)-89jj2`` +- ``union(_:)-9yvze`` +- ``union(_:)-7p0m2`` -- ``subtracting(_:)-6v3hx`` -- ``subtracting(_:)-zt78`` -- ``subtracting(_:)-9n0oc`` +- ``subtracting(_:)-cnsi`` +- ``subtracting(_:)-3yfac`` +- ``subtracting(_:)-90wrb`` -- ``symmetricDifference(_:)-7o2iv`` -- ``symmetricDifference(_:)-3jhi3`` -- ``symmetricDifference(_:)-2hxgg`` +- ``symmetricDifference(_:)-5bz4f`` +- ``symmetricDifference(_:)-6p8n5`` +- ``symmetricDifference(_:)-3qk9w`` -- ``formIntersection(_:)-48ki1`` -- ``formIntersection(_:)-8qfxe`` -- ``formIntersection(_:)-nne6`` +- ``formIntersection(_:)-1zcar`` +- ``formIntersection(_:)-4xkf0`` +- ``formIntersection(_:)-6jb2z`` -- ``formUnion(_:)-1qwuq`` -- ``formUnion(_:)-2raoj`` -- ``formUnion(_:)-ew7g`` +- ``formUnion(_:)-420zl`` +- ``formUnion(_:)-8zu6q`` +- ``formUnion(_:)-423id`` -- ``subtract(_:)-24txa`` -- ``subtract(_:)-69g3`` -- ``subtract(_:)-5l8bb`` +- ``subtract(_:)-49o9`` +- ``subtract(_:)-3ebkc`` +- ``subtract(_:)-87rhs`` -- ``formSymmetricDifference(_:)-6zqa1`` -- ``formSymmetricDifference(_:)-mv0q`` -- ``formSymmetricDifference(_:)-2qzlu`` +- ``formSymmetricDifference(_:)-94f6x`` +- ``formSymmetricDifference(_:)-4x7vw`` +- ``formSymmetricDifference(_:)-6ypuy`` ### Comparing Sets @@ -149,26 +149,26 @@ Like `==`, the `isEqualSet` functions ignore element ordering and duplicates (if any). - ``==(_:_:)`` -- ``isEqualSet(to:)-5lpwv`` -- ``isEqualSet(to:)-6ont2`` -- ``isEqualSet(to:)-58q8h`` +- ``isEqualSet(to:)-4bc1i`` +- ``isEqualSet(to:)-7x4yi`` +- ``isEqualSet(to:)-44fkf`` -- ``isSubset(of:)-2itju`` -- ``isSubset(of:)-2nice`` -- ``isSubset(of:)-8qszd`` +- ``isSubset(of:)-2ktpu`` +- ``isSubset(of:)-5oufi`` +- ``isSubset(of:)-9tq5c`` -- ``isSuperset(of:)-9mp0j`` -- ``isSuperset(of:)-3pm0f`` -- ``isSuperset(of:)-63haf`` +- ``isSuperset(of:)-3zd41`` +- ``isSuperset(of:)-6xa75`` +- ``isSuperset(of:)-6vw4t`` -- ``isStrictSubset(of:)-1cdr`` -- ``isStrictSubset(of:)-3xlgn`` -- ``isStrictSubset(of:)-8oyb4`` +- ``isStrictSubset(of:)-6xuil`` +- ``isStrictSubset(of:)-22f80`` +- ``isStrictSubset(of:)-5f78e`` -- ``isStrictSuperset(of:)-7qgvz`` -- ``isStrictSuperset(of:)-3fdsl`` -- ``isStrictSuperset(of:)-2ujyn`` +- ``isStrictSuperset(of:)-4ryjr`` +- ``isStrictSuperset(of:)-3ephc`` +- ``isStrictSuperset(of:)-9ftlc`` -- ``isDisjoint(with:)-eq16`` -- ``isDisjoint(with:)-8bgbj`` -- ``isDisjoint(with:)-5b64c`` +- ``isDisjoint(with:)-4a9xa`` +- ``isDisjoint(with:)-12a64`` +- ``isDisjoint(with:)-5lvdr`` diff --git a/Sources/HashTreeCollections/HashTreeCollections.docc/Extensions/TreeDictionary.md b/Sources/HashTreeCollections/HashTreeCollections.docc/Extensions/TreeDictionary.md index 0322d44a..091c4d6f 100644 --- a/Sources/HashTreeCollections/HashTreeCollections.docc/Extensions/TreeDictionary.md +++ b/Sources/HashTreeCollections/HashTreeCollections.docc/Extensions/TreeDictionary.md @@ -25,25 +25,25 @@ mutation, its `Values` view is not a `MutableCollection`. ### Creating a Dictionary - ``init()`` -- ``init(_:)-68s80`` -- ``init(_:)-2ngkk`` -- ``init(uniqueKeysWithValues:)-688fi`` -- ``init(uniqueKeysWithValues:)-3h2xe`` -- ``init(_:uniquingKeysWith:)-6t92n`` -- ``init(_:uniquingKeysWith:)-9opgv`` -- ``init(grouping:by:)-6ddmm`` -- ``init(grouping:by:)-9rc24`` +- ``init(_:)-111p1`` +- ``init(_:)-9atjh`` +- ``init(uniqueKeysWithValues:)-2hosl`` +- ``init(uniqueKeysWithValues:)-92276`` +- ``init(_:uniquingKeysWith:)-6nofo`` +- ``init(_:uniquingKeysWith:)-99403`` +- ``init(grouping:by:)-a4ma`` +- ``init(grouping:by:)-4he86`` - ``init(keys:valueGenerator:)`` ### Inspecting a Dictionary -- ``isEmpty-25p4`` -- ``count-8s588`` +- ``isEmpty-6icj0`` +- ``count-ibl8`` ### Accessing Keys and Values -- ``subscript(_:)-6jbab`` +- ``subscript(_:)-8gx3j`` - ``subscript(_:default:)`` - ``index(forKey:)`` @@ -59,12 +59,12 @@ operation.) `TreeDictionary` also provides the standard `merge` and - ``updateValue(_:forKey:)`` - ``updateValue(forKey:with:)`` - ``updateValue(forKey:default:with:)`` -- ``merge(_:uniquingKeysWith:)-218dc`` -- ``merge(_:uniquingKeysWith:)-8gdr2`` -- ``merge(_:uniquingKeysWith:)-6j72k`` -- ``merging(_:uniquingKeysWith:)-88sah`` -- ``merging(_:uniquingKeysWith:)-2qknu`` -- ``merging(_:uniquingKeysWith:)-3hao7`` +- ``merge(_:uniquingKeysWith:)-59cm5`` +- ``merge(_:uniquingKeysWith:)-38axt`` +- ``merge(_:uniquingKeysWith:)-3s4cw`` +- ``merging(_:uniquingKeysWith:)-3khxe`` +- ``merging(_:uniquingKeysWith:)-1k63w`` +- ``merging(_:uniquingKeysWith:)-87wp7`` ### Removing Keys and Values diff --git a/Sources/HashTreeCollections/HashTreeCollections.docc/Extensions/TreeSet.md b/Sources/HashTreeCollections/HashTreeCollections.docc/Extensions/TreeSet.md index f7e629b6..86add030 100644 --- a/Sources/HashTreeCollections/HashTreeCollections.docc/Extensions/TreeSet.md +++ b/Sources/HashTreeCollections/HashTreeCollections.docc/Extensions/TreeSet.md @@ -71,9 +71,9 @@ average -- typically they will need to compare against just one member. ### Creating a Set - ``init()`` -- ``init(_:)-1qufh`` -- ``init(_:)-49yo2`` -- ``init(_:)-56pm1`` +- ``init(_:)-2uun3`` +- ``init(_:)-714nu`` +- ``init(_:)-6lt4a`` ### Finding Elements @@ -103,37 +103,37 @@ but `TreeSet` follows the tradition established by `Set` in providing additional overloads to each operation that allow combining a set with additional types, including arbitrary sequences. -- ``intersection(_:)-8few3`` -- ``intersection(_:)-61b7q`` -- ``intersection(_:)-2ncm4`` +- ``intersection(_:)-8ltpr`` +- ``intersection(_:)-9kwc0`` +- ``intersection(_:)-4u7ew`` -- ``union(_:)-3e3nw`` -- ``union(_:)-8twku`` -- ``union(_:)-9f4y4`` +- ``union(_:)-89jj2`` +- ``union(_:)-9yvze`` +- ``union(_:)-7p0m2`` -- ``subtracting(_:)-6v3hx`` -- ``subtracting(_:)-zt78`` -- ``subtracting(_:)-9n0oc`` +- ``subtracting(_:)-cnsi`` +- ``subtracting(_:)-3yfac`` +- ``subtracting(_:)-90wrb`` -- ``symmetricDifference(_:)-7o2iv`` -- ``symmetricDifference(_:)-3jhi3`` -- ``symmetricDifference(_:)-2hxgg`` +- ``symmetricDifference(_:)-5bz4f`` +- ``symmetricDifference(_:)-6p8n5`` +- ``symmetricDifference(_:)-3qk9w`` -- ``formIntersection(_:)-48ki1`` -- ``formIntersection(_:)-8qfxe`` -- ``formIntersection(_:)-nne6`` +- ``formIntersection(_:)-1zcar`` +- ``formIntersection(_:)-4xkf0`` +- ``formIntersection(_:)-6jb2z`` -- ``formUnion(_:)-1qwuq`` -- ``formUnion(_:)-2raoj`` -- ``formUnion(_:)-ew7g`` +- ``formUnion(_:)-420zl`` +- ``formUnion(_:)-8zu6q`` +- ``formUnion(_:)-423id`` -- ``subtract(_:)-24txa`` -- ``subtract(_:)-69g3`` -- ``subtract(_:)-5l8bb`` +- ``subtract(_:)-49o9`` +- ``subtract(_:)-3ebkc`` +- ``subtract(_:)-87rhs`` -- ``formSymmetricDifference(_:)-6zqa1`` -- ``formSymmetricDifference(_:)-mv0q`` -- ``formSymmetricDifference(_:)-2qzlu`` +- ``formSymmetricDifference(_:)-94f6x`` +- ``formSymmetricDifference(_:)-4x7vw`` +- ``formSymmetricDifference(_:)-6ypuy`` ### Comparing Sets @@ -146,26 +146,26 @@ Like `==`, the `isEqualSet` functions ignore element ordering and duplicates (if any). - ``==(_:_:)`` -- ``isEqualSet(to:)-5lpwv`` -- ``isEqualSet(to:)-6ont2`` -- ``isEqualSet(to:)-58q8h`` +- ``isEqualSet(to:)-4bc1i`` +- ``isEqualSet(to:)-7x4yi`` +- ``isEqualSet(to:)-44fkf`` -- ``isSubset(of:)-2itju`` -- ``isSubset(of:)-2nice`` -- ``isSubset(of:)-8qszd`` +- ``isSubset(of:)-2ktpu`` +- ``isSubset(of:)-5oufi`` +- ``isSubset(of:)-9tq5c`` -- ``isSuperset(of:)-9mp0j`` -- ``isSuperset(of:)-3pm0f`` -- ``isSuperset(of:)-63haf`` +- ``isSuperset(of:)-3zd41`` +- ``isSuperset(of:)-6xa75`` +- ``isSuperset(of:)-6vw4t`` -- ``isStrictSubset(of:)-1cdr`` -- ``isStrictSubset(of:)-3xlgn`` -- ``isStrictSubset(of:)-8oyb4`` +- ``isStrictSubset(of:)-6xuil`` +- ``isStrictSubset(of:)-22f80`` +- ``isStrictSubset(of:)-5f78e`` -- ``isStrictSuperset(of:)-7qgvz`` -- ``isStrictSuperset(of:)-3fdsl`` -- ``isStrictSuperset(of:)-2ujyn`` +- ``isStrictSuperset(of:)-4ryjr`` +- ``isStrictSuperset(of:)-3ephc`` +- ``isStrictSuperset(of:)-9ftlc`` -- ``isDisjoint(with:)-eq16`` -- ``isDisjoint(with:)-8bgbj`` -- ``isDisjoint(with:)-5b64c`` +- ``isDisjoint(with:)-4a9xa`` +- ``isDisjoint(with:)-12a64`` +- ``isDisjoint(with:)-5lvdr`` diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift index af5109f9..9e238299 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift @@ -17,7 +17,7 @@ extension TreeSet: Equatable { /// Two persistent sets are considered equal if they contain the same /// elements, but not necessarily in the same order. /// - /// - Note: This simply forwards to the ``isEqualSet(to:)-5lpwv`` method. + /// - Note: This simply forwards to the ``isEqualSet(to:)-4bc1i`` method. /// That method has additional overloads that can be used to compare /// persistent sets with additional types. ///