[Newbies] Linked list structure?
mm3 at zepler.net
Mon Jul 28 11:36:31 UTC 2008
I am aware of LinkedList. It does not meet the criterion of accepting items
whatever their protocol.
On Mon, Jul 28, 2008 at 7:12 AM, David T. Lewis <lewis at mail.msen.com> wrote:
> On Sun, Jul 27, 2008 at 10:27:08PM -0400, Marcin Tustin wrote:
> > Is there - either as standard, or freely downloadable - a datastructure
> > is ordered, has constant-time appends of items, requires no particular
> > protocol of the items stored, and can be iterated over (without
> allocating a
> > new structure) starting with the first item added, proceeding to the next
> > item added? I.e. has the characteristics of a linked list structure in
> > other datastructure libraries?
> Have a look at class LinkedList. This is one of the "kernel" classes in
> and is used by ProcessorScheduler to manage processes (the "threads" within
> a Squeak image, instances of class Process). A Squeak Process is
> as a subclass of Link, and it is kept as an entry in the linked list. Try
> evaluating "Processor explore" to look at the singleton instance of
> that manages these linked lists.
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners