Package org.jruby.javasupport.ext
Class JavaUtil.Collection
java.lang.Object
org.jruby.javasupport.ext.JavaUtil.Collection
- Enclosing class:
JavaUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObject
append
(IRubyObject self, IRubyObject item) static IRubyObject
clone
(ThreadContext context, IRubyObject self) static IRubyObject
dup
(ThreadContext context, IRubyObject self) static IRubyObject
each
(ThreadContext context, IRubyObject self, Block block) static IRubyObject
each_with_index
(ThreadContext context, IRubyObject self, Block block) static IRubyObject
first
(ThreadContext context, IRubyObject self) static IRubyObject
first
(ThreadContext context, IRubyObject self, IRubyObject count) static RubyBoolean
include_p
(ThreadContext context, IRubyObject self, IRubyObject obj) static RubyString
inspect
(ThreadContext context, IRubyObject self) static IRubyObject
join
(ThreadContext context, IRubyObject self) static IRubyObject
join
(ThreadContext context, IRubyObject self, IRubyObject sep) static RubyNumeric
length
(ThreadContext context, IRubyObject self) static IRubyObject
op_minus
(ThreadContext context, IRubyObject self, IRubyObject coll) static IRubyObject
op_plus
(ThreadContext context, IRubyObject self, IRubyObject coll) static RubyArray
to_a
(ThreadContext context, IRubyObject self)
-
Constructor Details
-
Collection
public Collection()
-
-
Method Details
-
length
-
each
-
each_with_index
-
include_p
-
first
-
first
-
append
-
to_a
-
op_plus
-
op_minus
-
dup
-
clone
-
join
-
join
-
inspect
-