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 IRubyObjectaref(ThreadContext context, IRubyObject self, IRubyObject idx) static IRubyObjectaref(ThreadContext context, IRubyObject self, IRubyObject idx, IRubyObject len) static IRubyObjectaset(ThreadContext context, IRubyObject self, IRubyObject idx, IRubyObject val) static IRubyObjectfirst(ThreadContext context, IRubyObject self) static IRubyObjectfirst(ThreadContext context, IRubyObject self, IRubyObject count) static IRubyObjectindex(ThreadContext context, IRubyObject self, Block block) static IRubyObjectindex(ThreadContext context, IRubyObject self, IRubyObject val, Block ignoredBlock) static IRubyObjectlast(ThreadContext context, IRubyObject self) static IRubyObjectlast(ThreadContext context, IRubyObject self, IRubyObject count) static IRubyObjectrindex(ThreadContext context, IRubyObject self, Block block) static IRubyObjectrindex(ThreadContext context, IRubyObject self, IRubyObject val, Block ignoredBlock) static IRubyObjectsort(ThreadContext context, IRubyObject self, Block block) static IRubyObjectsort_bang(ThreadContext context, IRubyObject self, Block block) static RubyArrayto_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
-