Class MaxPQueue

Summary

Package:
(main)
File:
pqueue.icn
Methods:
construct, down, gen, get, len, maxlen, put, up

Fields:
L, Q, elem

Source code.

Details
Constructor

MaxPQueue(Q, elem, L)

Methods:

construct(S)

 Create the queue from a list, table, or set of "elem"


down(i)


gen()

 Generate the elements


get()

 Remove first element


len()

 Queue length and maximum length


maxlen()


put(e)

 Insert element


up(i)


Fields:
L

Q

elem


This page produced by UniDoc on 2021/04/15 @ 23:59:53.