swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: Collections?


From: Marcus G. Daniels
Subject: Re: Q: Collections?
Date: 10 Oct 1998 16:14:41 -0700

>>>>> "EW" == Eric Werk <address@hidden> writes:

EW> I'd like to have a queue where the elements come out
EW> most-important-first (PriorityQueue, I think its called).  Would
EW> that be the OrderedSet? 

I think a Map is about the best you can do.  If you use the keys for
priority, then, when you iterate over a MapIndex, you'll get them back
per a map (priority) comparision function.

                  ==================================
   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.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]