anvil.core.runtime
Class AnyThread

java.lang.Object
  |
  +--anvil.core.Any
        |
        +--anvil.core.AnyAbstractClass
              |
              +--anvil.core.runtime.AnyThread
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public class AnyThread
extends AnyAbstractClass

class AnyThread


Field Summary
static NativeClass _class
           
static RuntimePermission CAN_USE
           
static Any MAX_PRIORITY
           
static Any MIN_PRIORITY
           
static java.lang.Object[] newInstance
           
static Any NORMAL_PRIORITY
           
static java.lang.Object[] p_join
           
static java.lang.Object[] p_setDaemon
           
static java.lang.Object[] p_setName
           
static java.lang.Object[] p_setPriority
           
static java.lang.Object[] p_start
           
 
Fields inherited from class anvil.core.Any
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO
 
Constructor Summary
AnyThread(FunctionThread thread)
           
 
Method Summary
 ClassType classOf()
          Returns the type of this Any.
 Any m_getName()
           
 Any m_getPriority()
           
 Any m_interrupt()
           
 Any m_interrupted()
           
 Any m_isAlive()
           
 Any m_isDaemon()
           
 Any m_isInterrupted()
           
 Any m_join(Context context, long millis, int nanos)
           
 Any m_setDaemon(Context context, boolean daemon)
           
 Any m_setName(java.lang.String name)
           
 Any m_setPriority(int p)
           
 Any m_start(Context context, Any callable, Any[] parameters)
           
static Any newInstance(Context context, java.lang.String name)
           
 java.lang.Object toObject()
          Gets the contained value as java.lang.Object.
 
Methods inherited from class anvil.core.AnyAbstractClass
doSerialize, isMutable, serialize, serializeObject, toBoolean, toString, typeOf, unserialize, unserializeObject
 
Methods inherited from class anvil.core.Any
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, add, classNameOf, clone, coerce, compare, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getAttribute, getRef, getReference, has, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, m_toString, minus, modulo, multiply, not, plus, setAttribute, setRef, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toPattern, toRange, toTuple, type
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CAN_USE

public static final RuntimePermission CAN_USE

MIN_PRIORITY

public static final Any MIN_PRIORITY

NORMAL_PRIORITY

public static final Any NORMAL_PRIORITY

MAX_PRIORITY

public static final Any MAX_PRIORITY

newInstance

public static final java.lang.Object[] newInstance

p_setName

public static final java.lang.Object[] p_setName

p_setPriority

public static final java.lang.Object[] p_setPriority

p_setDaemon

public static final java.lang.Object[] p_setDaemon

p_join

public static final java.lang.Object[] p_join

p_start

public static final java.lang.Object[] p_start

_class

public static final NativeClass _class
Constructor Detail

AnyThread

public AnyThread(FunctionThread thread)
Method Detail

newInstance

public static final Any newInstance(Context context,
                                    java.lang.String name)

classOf

public final ClassType classOf()
Description copied from class: Any
Returns the type of this Any.

Specified by:
classOf in class AnyAbstractClass

toObject

public java.lang.Object toObject()
Description copied from class: Any
Gets the contained value as java.lang.Object.

Overrides:
toObject in class Any
Returns:
Value as Object.

m_getName

public Any m_getName()

m_getPriority

public Any m_getPriority()

m_setName

public Any m_setName(java.lang.String name)

m_setPriority

public Any m_setPriority(int p)

m_interrupt

public Any m_interrupt()

m_interrupted

public Any m_interrupted()

m_isInterrupted

public Any m_isInterrupted()

m_isAlive

public Any m_isAlive()

m_isDaemon

public Any m_isDaemon()

m_setDaemon

public Any m_setDaemon(Context context,
                       boolean daemon)

m_join

public Any m_join(Context context,
                  long millis,
                  int nanos)

m_start

public Any m_start(Context context,
                   Any callable,
                   Any[] parameters)