|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
digitalmars.D.dtl - mintl structs updated
I'm still playing around with the class and interface wrappers for MinTL but I've made some improvements to the core struct library. The changes are: * box.d: new from Burton Radons and use in share.add(...) * adapter.d: new mixins for adapters * stack.d: new adapter for stack * queue.d: new adapter for queue * set.d: new adapter for sets and multi-sets * list.d: CList to CircularList and CSList to CircularSList * all: change move(), moveHead(), moveTail() to next() * all: added take() and takeHead/Tail to return value if any * concurrent/aa.d: ConcurrentAA changes to implement Collection * arraylist.d: grow ArrayList capacity geometrically * all: implement properties keys, values for all Collections * all: remove toArray and replace with values * all: remove toSeq since instantiating CFoo is equivalent * share.d: rename Seq, SeqWithKeys as Sequence, IndexedSequence * linked/sortedaa.d: change fromHead, fromTail to head/tail * lists: add head/tail properties to get one-item slices of head/tail * list.d: remove length setter and make length==0 mean unknown length that gets computed only when required * list.d: make head null indicate empty list, tail hold cache * sortedaa.d: add from(key) and to(key) * deque.d: simplify code by not resizing block size and making it cyclic * arraylist.d: fix copyBlock bug copying between arrays of different size Available at the usual place: http://home.comcast.net/~benhinkle/mintl/ I should have the classes done soon. Plus I've trimmed the mintl html help to make it easier to take in. May 16 2005
In article <d6bo2s$ds1$1 digitaldaemon.com>, Ben Hinkle says...I'm still playing around with the class and interface wrappers for MinTL but I've made some improvements to the core struct library. The changes are: * box.d: new from Burton Radons and use in share.add(...) * adapter.d: new mixins for adapters * stack.d: new adapter for stack * queue.d: new adapter for queue * set.d: new adapter for sets and multi-sets * list.d: CList to CircularList and CSList to CircularSList * all: change move(), moveHead(), moveTail() to next() * all: added take() and takeHead/Tail to return value if any * concurrent/aa.d: ConcurrentAA changes to implement Collection * arraylist.d: grow ArrayList capacity geometrically * all: implement properties keys, values for all Collections * all: remove toArray and replace with values * all: remove toSeq since instantiating CFoo is equivalent * share.d: rename Seq, SeqWithKeys as Sequence, IndexedSequence * linked/sortedaa.d: change fromHead, fromTail to head/tail * lists: add head/tail properties to get one-item slices of head/tail * list.d: remove length setter and make length==0 mean unknown length that gets computed only when required * list.d: make head null indicate empty list, tail hold cache * sortedaa.d: add from(key) and to(key) * deque.d: simplify code by not resizing block size and making it cyclic * arraylist.d: fix copyBlock bug copying between arrays of different size Available at the usual place: http://home.comcast.net/~benhinkle/mintl/ I should have the classes done soon. Plus I've trimmed the mintl html help to make it easier to take in. May 22 2005
|