Packagede.polygonal.ds
Classpublic class Prioritizable
InheritancePrioritizable Inheritance Object

All objects stored in a PriorityQueue have to extend this class. I could have defined this as an interface, but this would force me to write getters for accessing the priority value.



Public Properties
 PropertyDefined By
  priority : int
Prioritizable
Public Methods
 MethodDefined By
  
Prioritizable(priority:int = -1)
Prioritizable
  
toString():String
Prioritizable
Property Detail
priorityproperty
public var priority:int

Constructor Detail
Prioritizable()Constructor
public function Prioritizable(priority:int = -1)



Parameters
priority:int (default = -1)
Method Detail
toString()method
public function toString():String

Returns
String