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 | Iterator iterator () uint opApply (int delegate(ref V value) dg) CircularList add (V element) CircularList addAt (uint index, V element) CircularList append (V element) CircularList prepend (V element) uint addAt (uint index, IContainer!(V) e) uint append (IContainer!(V) e) uint prepend (IContainer!(V) e) bool take (ref V v) bool contains (V element) V get (uint index) uint first (V element, uint startingIndex = 0) uint last (V element, uint startingIndex = 0) V head () V tail () V head (V element) V tail (V element) V removeHead () V removeTail () bool removeAt (uint index) uint remove (V element, bool all) uint removeRange (uint fromIndex, uint toIndex) uint replace (V oldElement, V newElement, bool all) bool replaceAt (uint index, V element) uint size () bool isEmpty () V[] toArray (V[] dst) CircularList dup () CircularList subset (uint from, uint length) CircularList clear () CircularList reset () CircularList check () |
Returns:
a copy of this iterator for chaining.