Package | org.as3collections |
Class | public class SortMapBy |
Inheritance | SortMapBy org.as3coreaddendum.system.Enum |
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 the constants.
Method | Defined By | ||
---|---|---|---|
SortMapBy(name:String, ordinal:int)
Constructor, creates a new SortMapBy object. | SortMapBy |
Constant | Defined By | ||
---|---|---|---|
KEY : SortMapBy [static]
Defines the constant that indicates that the map should be sorted by its keys. | SortMapBy | ||
VALUE : SortMapBy [static]
Defines the constant that indicates that the map should be sorted by its values. | SortMapBy |
SortMapBy | () | Constructor |
public function SortMapBy(name:String, ordinal:int)
Constructor, creates a new SortMapBy
object.
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).
|
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.
|
KEY | Constant |
public static const KEY:SortMapBy
Defines the constant that indicates that the map should be sorted by its keys.
VALUE | Constant |
public static const VALUE:SortMapBy
Defines the constant that indicates that the map should be sorted by its values.