Package | org.as3coreaddendum.system.comparators |
Class | public class AlphabeticalComparison |
Inheritance | AlphabeticalComparison ![]() ![]() |
AlphabeticalComparator
.
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.
Method | Defined By | ||
---|---|---|---|
AlphabeticalComparison(name:String, ordinal:int)
Constructor, creates a new AlphabeticalComparison object. | AlphabeticalComparison | ||
![]() | compareTo(o:*):int
Compares this enum with the specified object for order. | Enum | |
![]() | equals(other:*):Boolean
Compares the target object for equality with this object. | Enum | |
![]() | toSource():String
Returns the source code String representation of the object. | Enum | |
![]() | toString():String
Returns the name of this enum constant, as contained in the declaration. | Enum | |
![]() | valueOf():int
Returns the primitive value of the object. | Enum |
Constant | Defined By | ||
---|---|---|---|
CASE_INSENSITIVE : AlphabeticalComparison [static]
Defines the constant which indicates that the comparison should ignore case. | AlphabeticalComparison | ||
LOWER_CASE_FIRST : AlphabeticalComparison [static]
Defines the constant which indicates that the comparison should return lower case first. | AlphabeticalComparison | ||
UPPER_CASE_FIRST : AlphabeticalComparison [static]
Defines the constant which indicates that the comparison should return upper case first. | AlphabeticalComparison |
AlphabeticalComparison | () | Constructor |
public function AlphabeticalComparison(name:String, ordinal:int)
Constructor, creates a new AlphabeticalComparison object.
Parametersname: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).
|
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.
|
CASE_INSENSITIVE | Constant |
public static const CASE_INSENSITIVE:AlphabeticalComparison
Defines the constant which indicates that the comparison should ignore case.
LOWER_CASE_FIRST | Constant |
public static const LOWER_CASE_FIRST:AlphabeticalComparison
Defines the constant which indicates that the comparison should return lower case first.
UPPER_CASE_FIRST | Constant |
public static const UPPER_CASE_FIRST:AlphabeticalComparison
Defines the constant which indicates that the comparison should return upper case first.