anvil.core
Class AnyBoolean

java.lang.Object
  |
  +--anvil.core.Any
        |
        +--anvil.core.AnyBoolean
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
AnyFalse, AnyTrue

public abstract class AnyBoolean
extends Any

class AnyBoolean.

Author:
Jani Lehtimäki

Field Summary
static NativeClass _class
           
static java.lang.Object[] newInstance
           
 
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
protected AnyBoolean()
           
 
Method Summary
 ClassType classOf()
          Returns the type of this Any.
 int compare(Any other)
           
 boolean equals(java.lang.Object obj)
          Tests for equality.
 boolean isBoolean()
          Checks if this any is boolean.
static Any newInstance(Any value)
           
 int typeOf()
          Returns the type of contained value.
 
Methods inherited from class anvil.core.Any
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, add, classNameOf, clone, coerce, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, 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, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isMutable, 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, serialize, setAttribute, setRef, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBoolean, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toObject, toPattern, toRange, toString, toTuple, type
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

newInstance

public static final java.lang.Object[] newInstance

_class

public static final NativeClass _class
Constructor Detail

AnyBoolean

protected AnyBoolean()
Method Detail

newInstance

public static final Any newInstance(Any value)

typeOf

public final int typeOf()
Description copied from class: Any
Returns the type of contained value.

Overrides:
typeOf in class Any
Returns:
Type of this any as int.

isBoolean

public final boolean isBoolean()
Description copied from class: Any
Checks if this any is boolean.

Overrides:
isBoolean in class Any
Returns:
true if this is boolean

classOf

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

Overrides:
classOf in class Any

equals

public final boolean equals(java.lang.Object obj)
Description copied from class: Any
Tests for equality.

Overrides:
equals in class Any
Returns:
true if equal, false otherwise.

compare

public final int compare(Any other)
Overrides:
compare in class Any