|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.RubyBasicObject
org.jruby.RubyObject
org.jruby.libraries.ThreadLibrary.Queue
org.jruby.libraries.ThreadLibrary.SizedQueue
public static class ThreadLibrary.SizedQueue
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jruby.RubyObject |
---|
RubyObject.ObjectMethods |
Nested classes/interfaces inherited from class org.jruby.RubyBasicObject |
---|
RubyBasicObject.BasicObjectMethods, RubyBasicObject.Finalizer |
Field Summary |
---|
Fields inherited from class org.jruby.libraries.ThreadLibrary.Queue |
---|
numWaiting |
Fields inherited from class org.jruby.RubyObject |
---|
OBJECT_ALLOCATOR |
Fields inherited from class org.jruby.RubyBasicObject |
---|
ALL_F, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, metaClass, NEVER, NIL_F, TAINTED_F, UNDEF, UNTRUSTED_F, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F |
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject |
---|
NULL_ARRAY |
Constructor Summary | |
---|---|
ThreadLibrary.SizedQueue(Ruby runtime,
RubyClass type)
|
Method Summary | |
---|---|
IRubyObject |
clear(ThreadContext context)
|
IRubyObject |
max_set(ThreadContext context,
IRubyObject arg)
|
RubyNumeric |
max(ThreadContext context)
|
static IRubyObject |
newInstance(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
IRubyObject |
pop(ThreadContext context,
IRubyObject[] args)
|
IRubyObject |
push(ThreadContext context,
IRubyObject value)
|
static void |
setup(Ruby runtime)
|
Methods inherited from class org.jruby.libraries.ThreadLibrary.Queue |
---|
empty_p, java_length, length, num_waiting |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ThreadLibrary.SizedQueue(Ruby runtime, RubyClass type)
Method Detail |
---|
public static IRubyObject newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
public static void setup(Ruby runtime)
public IRubyObject clear(ThreadContext context)
clear
in class ThreadLibrary.Queue
public RubyNumeric max(ThreadContext context)
public IRubyObject max_set(ThreadContext context, IRubyObject arg)
public IRubyObject pop(ThreadContext context, IRubyObject[] args)
pop
in class ThreadLibrary.Queue
public IRubyObject push(ThreadContext context, IRubyObject value)
push
in class ThreadLibrary.Queue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |