Skip to content

Commit

Permalink
Fix some silly implementation details
Browse files Browse the repository at this point in the history
  • Loading branch information
amalloy committed Apr 10, 2013
1 parent 968d90f commit c0552dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flatland/ordered/set.clj
Expand Up @@ -53,7 +53,7 @@
(equals [this other]
(or (identical? this other)
(and (instance? Set other)
(let [^Set s (cast Set other)]
(let [^Set s other]
(and (= (.size this) (.size s))
(every? #(.contains s %) (.seq this)))))))

Expand All @@ -63,7 +63,7 @@
(contains [this k]
(.containsKey k->i k))
(containsAll [this ks]
(every? identity (map #(.contains this %) ks)))
(every? #(.contains this %) ks))
(size [this]
(.count this))
(isEmpty [this]
Expand Down

0 comments on commit c0552dc

Please sign in to comment.