[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: queue again
From: |
Chimera |
Subject: |
Re: queue again |
Date: |
Thu, 16 Jul 1998 18:43:38 -0700 |
Amber,
The generic linked list object has addLast and removeFirst (I don't
remember the exact commands.) They make the linked list a queue. Either
always add as the last element and remove the first element and
vice-versa. I think that this is why "queue" per say, never got
implemented. It really is already there. You can make a "stack" the same
way, using add first and remove first.
Cheers,
Doug Donalson
Amber L. Hinkle wrote:
> waitingqueue = [Queue create: aZone];
>
> What should I be putting here?
>
> ==================================
> Swarm-Support is for discussion of the technical details of the day
> to day usage of Swarm. For list administration needs (esp.
> [un]subscribing), please send a message to <address@hidden>
> with "help" in the body of the message.
> ==================================
--
*********************************************************************
* Doug Donalson Office: (805) 893-2962
* Ecology, Evolution, Home: (805) 961-4447
* and Marine Biology email address@hidden
* UC Santa Barbara
* Santa Barbara Ca. 93106
*********************************************************************
*
* The most exciting phrase to hear in science, the one that
* heralds new discoveries, is not "EUREKA" (I have found it) but
* "That's funny ...?"
*
* Isaac Asimov
*
*********************************************************************
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================