Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 33 and Version 34 of ChapterStorage

Show
Ignore:
Author:
larsivi (IP: 85.221.53.194)
Timestamp:
01/23/08 13:21:40 (16 years ago)
Comment:

Various fixes

Legend:

Unmodified
Added
Removed
Modified
  • ChapterStorage

    v33 v34  
    1 [wiki:StoreComments Leave Comments, Critiques, and Suggestions Here] 
    2  
     1[[TOC()]] 
    32= The collection classes = 
    43Tango provides a number of collection classes, sometimes also called container classes. 
    1918 
    2019auto list = new MyIntList; 
    21 list.add(1); 
     20list.append(1); 
    2221}}} 
    2322 
    159158This may be rectified in the future.  
    160159 
    161 [[docs(InterleavingIterator, tango.util.collection.iterator.InterleavingIterator.html, h2)]] 
     160== !InterleavingIterator == 
    162161 
    163162This more complex ''Iterator'' shows why iterators are still useful, even if we have the ''foreach'' construct. 
    164163 
    165 '''!InterleavingIterator'''s allow you to combine the elements of two different enumerations as if they were one enumeration before they are seen by their ''consumers''. 
     164'''[[docs(InterleavingIterators, tango.util.collection.iterator.InterleavingIterator.html,)]]''' allow you to combine the elements of two different enumerations as if they were one enumeration before they are seen by their ''consumers''. 
    166165This sometimes allows one to avoid use of a collection object, to temporarily combine two sets of Collection '''elements()''' that need to be collected together for common processing. 
    167166 
    197196}}} 
    198197 
    199 [[docs(FilteringIterator,tango.util.collection.iterator.FilteringIterator.html, h2)]] 
    200  
    201 '''!FilteringIterator'''s allow you to filter out elements from other enumerations before they are seen by their ''consumers'' (i.e. the callers of '''get'''). 
     198== !FilteringIterator == 
     199 
     200'''[[docs(FilteringIterators,tango.util.collection.iterator.FilteringIterator.html,)]]''' allow you to filter out elements from other enumerations before they are seen by their ''consumers'' (i.e. the callers of '''get'''). 
    202201 
    203202{{{ 
    204203#!d 
    205204import tango.util.collection.LinkSeq; 
    206 import tango.util.collection.ArraySeq
     205import tango.util.collection.ArrayBag
    207206import tango.util.collection.iterator.FilteringIterator; 
    208207 
    357356 * For further readings on hash tables, see this [http://en.wikipedia.org/wiki/Hash_table Wikipedia-article] 
    358357 
    359  
     358== Illustrations == 
    360359 
    361360[[Image(source:/trunk/doc/images/collection.png)]] 
    365364[[Image(source:/trunk/doc/images/methods.png)]] 
    366365 
     366== User Comments == 
     367 
     368[[EmbedReplies(DocComments,ChapterStorage)]]