License:
BSD style: see license.txtVersion:
Apr 2008: Initial releaseAuthors:
KrisSince:
0.99.7 Based upon Doug Lea's Java collection package
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | Iterator iterator () int opApply (int delegate(ref V value) dg) V head () V tail () V head (V value) V tail (V value) V removeHead () V removeTail () bool contains (V value) uint first (V value, uint startingIndex = 0) uint last (V value, uint startingIndex = 0) LinkedList add (V value) LinkedList prepend (V value) uint prepend (IContainer!(V) e) LinkedList append (V value) uint append (IContainer!(V) e) LinkedList addAt (uint index, V value) uint addAt (uint index, IContainer!(V) e) V get (uint index) bool take (ref V v) uint remove (V value, bool all) bool removeAt (uint index) uint removeRange (uint fromIndex, uint toIndex) uint replace (V oldElement, V newElement, bool all) bool replaceAt (uint index, V value) LinkedList clear () LinkedList reset () LinkedList subset (uint from, uint length = int.max) LinkedList dup () uint size () bool isEmpty () V[] toArray (V[] dst) LinkedList sort (Compare!(V) cmp) LinkedList check () |