Packageorg.as3coreaddendum.system.comparators
Classpublic class BooleanComparison
InheritanceBooleanComparison Inheritance Enum Inheritance Object

The enumeration class that defines the acceptable values for the BooleanComparator.

This is a type-safe enumeration class, which means there is no possibility of creating instances externally. All acceptable values will be created automaticaly by this class internaly, through its constants.



Public Properties
 PropertyDefined By
 Inheritedname : String
[read-only] The name of this enum constant exactly as supplied by the constructor.
Enum
 Inheritedordinal : int
[read-only] The ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
Enum
Public Methods
 MethodDefined By
  
BooleanComparison(name:String, ordinal:int)
Constructor, creates a new BooleanComparison object.
BooleanComparison
 Inherited
compareTo(o:*):int
Compares this enum with the specified object for order.
Enum
 Inherited
equals(other:*):Boolean
Compares the target object for equality with this object.
Enum
 Inherited
toSource():String
Returns the source code String representation of the object.
Enum
 Inherited
toString():String
Returns the name of this enum constant, as contained in the declaration.
Enum
 Inherited
valueOf():int
Returns the primitive value of the object.
Enum
Public Constants
 ConstantDefined By
  FALSE_FIRST : BooleanComparison
[static] Defines the constant which indicates that the comparison should return false first.
BooleanComparison
  TRUE_FIRST : BooleanComparison
[static] Defines the constant which indicates that the comparison should return true first.
BooleanComparison
Constructor Detail
BooleanComparison()Constructor
public function BooleanComparison(name:String, ordinal:int)

Constructor, creates a new BooleanComparison object.

Parameters
name:String — The name of this enumeration constant.
 
ordinal:int — The ordinal of this enumeration constant, that is its position in the enum declaration (where the initial constant is assigned an ordinal of zero).

Throws
IllegalOperationError — If there is an attempt to instantiation outside the internal code of this class. All acceptable values will be created automaticaly by this class internaly, through the constants. There's no possibility to use this constructor externally.
Constant Detail
FALSE_FIRSTConstant
public static const FALSE_FIRST:BooleanComparison

Defines the constant which indicates that the comparison should return false first.

TRUE_FIRSTConstant 
public static const TRUE_FIRST:BooleanComparison

Defines the constant which indicates that the comparison should return true first.