Registry / utility / rbtree-jruby

rbtree-jruby

JSON →
library0.2.1rbrubygemsunverified

A sorted associative collection implemented with a Red-Black Tree, providing a Hash-like interface with ordered elements, specifically for JRuby.

gem install rbtree-jruby
INSTALL
IMPORT
SIG · RBTREE-JRUBY
R
rbtree-jruby
utilityrubyv0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RBTree
require 'rbtree'

Creates a sorted RBTree and inserts key-value pairs

require 'rbtree' tree = RBTree.new tree['b'] = 2 tree['a'] = 1 puts tree.keys # Outputs: ["a", "b"]
Debug
Known issues
breakingThis gem is specifically for JRuby and may not work on other Ruby implementations.
fix
Use only with JRuby; consider alternatives like rbtree gem for MRI.
affects: >= 0.2.0
Upgrade
Version history
0.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
Resources
rbtree-jruby — gem install rbtree-jruby · libregistry