2010/11/24 HiHeelHottie <hiheelhot...@gmail.com>:
>
> Does anybody know of an implementation for a priority queue that can
> be used for scheduling events in the future?  I would like to put a
> map associated with a timestamp into the queue and be able to pull out
> all maps at or before a given time in order.

I would also recommend looking into the classes in
java.util.concurrent, especially DelayQueue.

http://download.oracle.com/javase/6/docs/api/java/util/concurrent/DelayQueue.html

// raek

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to