GODPAPER | All Packages | All Classes | Index | Frames No Frames |
PriorityQueueDsc

Package | jp.dip.hael.gameai.util
Class | public class PriorityQueueDsc
Inheritance | PriorityQueueDsc Object

降順のPriorityQueue

Public Properties

| Property | Defined By
--- | --- | ---
|  | length : int [read-only] | PriorityQueueDsc

Public Methods

| Method | Defined By
--- | --- | ---
|  | PriorityQueueDsc() | PriorityQueueDsc
|  | insert(obj:Object, priority:int):void | PriorityQueueDsc
|  | pop():Array | PriorityQueueDsc
|  | popObj():Object | PriorityQueueDsc
|  | popPriority():int | PriorityQueueDsc

Property Detail

length | property

`length:int` [read-only]

Implementation
`public function get length():int`
Constructor Detail

PriorityQueueDsc | () | Constructor

`public function PriorityQueueDsc()`

Method Detail

insert | () | method

`public function insert(obj:Object, priority:int):void`

Parameters

| `obj:Object`
| `priority:int`

pop | () | method |

`public function pop():Array`

Returns

| `Array`

popObj | () | method |

`public function popObj():Object`

Returns

| `Object`

popPriority | () | method |

`public function popPriority():int`

Returns

| `int`

Thu Jan 16 2014, 01:11 PM +08:00