Package org.jruby.javasupport.ext
Class JavaUtil.List
java.lang.Object
org.jruby.javasupport.ext.JavaUtil.List
- Enclosing class:
JavaUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObject
aref
(ThreadContext context, IRubyObject self, IRubyObject idx) static IRubyObject
aref
(ThreadContext context, IRubyObject self, IRubyObject idx, IRubyObject len) static IRubyObject
aset
(ThreadContext context, IRubyObject self, IRubyObject idx, IRubyObject val) static IRubyObject
first
(ThreadContext context, IRubyObject self) static IRubyObject
first
(ThreadContext context, IRubyObject self, IRubyObject count) static IRubyObject
index
(ThreadContext context, IRubyObject self, Block block) static IRubyObject
index
(ThreadContext context, IRubyObject self, IRubyObject val, Block ignoredBlock) static IRubyObject
last
(ThreadContext context, IRubyObject self) static IRubyObject
last
(ThreadContext context, IRubyObject self, IRubyObject count) static IRubyObject
rindex
(ThreadContext context, IRubyObject self, Block block) static IRubyObject
rindex
(ThreadContext context, IRubyObject self, IRubyObject val, Block ignoredBlock) static IRubyObject
sort
(ThreadContext context, IRubyObject self, Block block) static IRubyObject
sort_bang
(ThreadContext context, IRubyObject self, Block block) static RubyArray
to_a
(ThreadContext context, IRubyObject self)
-
Constructor Details
-
List
public List()
-
-
Method Details
-
aref
-
aref
public static IRubyObject aref(ThreadContext context, IRubyObject self, IRubyObject idx, IRubyObject len) -
aset
public static IRubyObject aset(ThreadContext context, IRubyObject self, IRubyObject idx, IRubyObject val) -
first
-
first
-
last
-
last
-
index
-
index
public static IRubyObject index(ThreadContext context, IRubyObject self, IRubyObject val, Block ignoredBlock) -
rindex
-
rindex
public static IRubyObject rindex(ThreadContext context, IRubyObject self, IRubyObject val, Block ignoredBlock) -
to_a
-
sort
-
sort_bang
-