Category talk:Wren-llist: Difference between revisions
→Source code: Added copy() methods.
(→Source code: Added a 'nodes' iterator and changed a method name (swap -> exchange).) |
(→Source code: Added copy() methods.) |
||
Line 74:
return ll
}
// Copies the current instance to a new LinkedList.
copy() { LinkedList.new(this) }
// Basic properties.
Line 510 ⟶ 513:
return ll
}
// Copies the current instance to a new DLinkedList.
copy() { DLinkedList.new(this) }
// Basic properties.
|