Package | Description |
---|---|
org.jruby.ext.set |
Modifier and Type | Class and Description |
---|---|
class |
RubySortedSet
Native implementation of Ruby's SortedSet (set.rb replacement).
|
Modifier and Type | Method and Description |
---|---|
RubySet |
RubySet.add(ThreadContext context,
IRubyObject obj)
Adds the given object to the set and returns self.
|
static RubySet |
RubySet.create(ThreadContext context,
IRubyObject self,
IRubyObject... ary)
Creates a new set containing the given objects.
|
RubySet |
RubySet.flatten_merge(ThreadContext context,
IRubyObject set) |
RubySet |
RubySet.flatten(ThreadContext context) |
RubySet |
RubySet.rb_merge(ThreadContext context,
IRubyObject enume)
Merges the elements of the given enumerable object to the set and returns self.
|
RubySet |
RubySet.replace(ThreadContext context,
IRubyObject enume)
Replaces the contents of the set with the contents of the given enumerable object and returns self.
|
RubySet |
RubySet.to_set(ThreadContext context,
Block block) |
RubySet |
RubySet.to_set(ThreadContext context,
IRubyObject[] args,
Block block) |
Modifier and Type | Method and Description |
---|---|
protected void |
RubySet.addImplSet(ThreadContext context,
RubySet set) |
protected void |
RubySortedSet.addImplSet(ThreadContext context,
RubySet set) |
boolean |
RubySet.intersect(RubySet set) |
Copyright © 2001-2018 JRuby. All Rights Reserved.