LinkList.st
changeset 241 6f30be88e314
parent 175 82ba8d2e3569
child 243 1b7ab889a45f
equal deleted inserted replaced
240:f5ff68fffb92 241:6f30be88e314
    19 
    19 
    20 LinkedList comment:'
    20 LinkedList comment:'
    21 COPYRIGHT (c) 1989 by Claus Gittinger
    21 COPYRIGHT (c) 1989 by Claus Gittinger
    22 	      All Rights Reserved
    22 	      All Rights Reserved
    23 
    23 
    24 $Header: /cvs/stx/stx/libbasic/Attic/LinkList.st,v 1.10 1994-10-28 01:24:45 claus Exp $
    24 $Header: /cvs/stx/stx/libbasic/Attic/LinkList.st,v 1.11 1995-02-08 03:11:01 claus Exp $
    25 '!
    25 '!
    26 
    26 
    27 !LinkedList class methodsFor:'documentation'!
    27 !LinkedList class methodsFor:'documentation'!
    28 
    28 
    29 copyright
    29 copyright
    40 "
    40 "
    41 !
    41 !
    42 
    42 
    43 version
    43 version
    44 "
    44 "
    45 $Header: /cvs/stx/stx/libbasic/Attic/LinkList.st,v 1.10 1994-10-28 01:24:45 claus Exp $
    45 $Header: /cvs/stx/stx/libbasic/Attic/LinkList.st,v 1.11 1995-02-08 03:11:01 claus Exp $
    46 "
    46 "
    47 !
    47 !
    48 
    48 
    49 documentation
    49 documentation
    50 "
    50 "
   117 
   117 
   118 at:index
   118 at:index
   119     "return the n'th element - use of this method should be avoided,
   119     "return the n'th element - use of this method should be avoided,
   120      since it is slow to walk through the list - think about using
   120      since it is slow to walk through the list - think about using
   121      another collection if you need index access.
   121      another collection if you need index access.
   122      Notice, that many methods in SeqColl are based on at:-access."
   122      Notice, that many methods in SeqColl are based on at:-access,
       
   123      so other inherited methods may be very slow (showing square runtime)."
   123 
   124 
   124     |theLink
   125     |theLink
   125      runIndex "{Class: SmallInteger}"|
   126      runIndex "{Class: SmallInteger}"|
   126 
   127 
   127     theLink := firstLink.
   128     theLink := firstLink.