Doubly-linked list/Definition: Difference between revisions

m
Line 426:
Object
(equals [this x]
(whenand (instance? DoubleList x)
(= m (.m ^DoubleList x))))
(hashCode [this] (hash (or this ())))
clojure.lang.Sequential
Line 439:
(empty [_] (DoubleList. (empty m) nil nil))
(equiv [this x]
(ifand (sequential? x)
(= (seq x) (seq this))))
false))
(cons [this x] (.add-tail this x))
PDoubleList
Anonymous user