org.jruby
Class RubyThreadGroup

java.lang.Object
  extended byorg.jruby.RubyObject
      extended byorg.jruby.RubyThreadGroup
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject

public class RubyThreadGroup
extends RubyObject

Implementation of Ruby's ThreadGroup class. This is currently just a stub.

Author:
Charles O Nutter (headius@headius.com)

Nested Class Summary
 
Nested classes inherited from class org.jruby.RubyObject
RubyObject.Finalizer
 
Field Summary
 
Fields inherited from class org.jruby.RubyObject
instanceVariables, isTrue, metaClass, NEVER, OBJECT_ALLOCATOR
 
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject
NULL_ARRAY
 
Method Summary
 IRubyObject add(RubyThread rubyThread, Block block)
           
static RubyClass createThreadGroupClass(Ruby runtime)
           
 IRubyObject enclose(Block block)
           
 IRubyObject isEnclosed(Block block)
           
 IRubyObject list(Block block)
           
static IRubyObject newInstance(IRubyObject recv, Block block)
           
 void remove(RubyThread rubyThread)
           
 
Methods inherited from class org.jruby.RubyObject
addFinalizer, anyToString, asString, asSymbol, attachToObjectSpace, callInit, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodMissingIfNecessary, callSuper, checkArrayType, checkFrozen, checkStringType, compilerCallMethod, compilerCallMethodWithIndex, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToString, convertToType, convertToType, convertToType, convertToTypeWithCheck, createObjectClass, dataGetStruct, dataWrapStruct, display, doClone, dup, eql, eqlInternal, equal, equalInternal, equals, evalSimple, evalUnder, evalWithBinding, extend, freeze, frozen, getInstanceVariable, getInstanceVariables, getInstanceVariablesSnapshot, getJavaClass, getMetaClass, getNativeTypeIndex, getRuntime, getSingletonClass, getSingletonClassClone, getType, hash, hashCode, id_deprecated, id, infectBy, inherited, initCopy, initialize_copy, initialize, inspect, instance_eval, instance_exec, instance_of, instance_variable_get, instance_variable_set, instance_variables, instanceVariableNames, isFalse, isFrozen, isImmediate, isKindOf, isNil, isSingleton, isTaint, isTrue, kind_of, makeMetaClass, match, method, methods, nil_p, obj_equal, private_methods, protected_methods, public_methods, puts, rbClone, remove_instance_variable, removeFinalizers, removeInstanceVariable, respond_to, respondsTo, safeGetInstanceVariables, safeHasInstanceVariables, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, singleton_methods, specificEval, taint, tainted, testFrozen, to_s, toString, trueFalseNil, trueFalseNil, type_deprecated, type, untaint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

createThreadGroupClass

public static RubyClass createThreadGroupClass(Ruby runtime)

newInstance

public static IRubyObject newInstance(IRubyObject recv,
                                      Block block)

add

public IRubyObject add(RubyThread rubyThread,
                       Block block)

remove

public void remove(RubyThread rubyThread)

enclose

public IRubyObject enclose(Block block)

isEnclosed

public IRubyObject isEnclosed(Block block)

list

public IRubyObject list(Block block)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.