Sha256: 25743442edd930941e8ce5c8ce3aa2815a9ee329660f9891d16584ff4ef1ff0d
Contents?: true
Size: 476 Bytes
Versions: 2
Compression:
Stored size: 476 Bytes
Contents
= PriorityQueue A very simple priority queue. == Usage: pq = PriorityQueue.new pq[5] << 'foo' pq[10] << 'unimportant foo' pq[1] << 'important foo' pq.shift # => 'important foo' pq.shift # => 'foo' pq.shift # => 'unimportant foo' pq.shift # => nil PriorityQueue is also enumerable. == Install: sudo gem install priority-queue -s http://gemcutter.org == License: Copyright (c) 2009 Justin Balthrop, Geni.com; Published under The MIT License, see License.txt
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
priority_queue-0.2.0 | README.rdoc |
priority_queue-0.1.0 | README.rdoc |