queue
Description
Type Tags
None
Object Value
Objects of type queue have no value, and it is an error to try to get or set this value.
queue.new()
Description
Prototype
queue
.new
(
queue
,
integer me
,
boolean max
)
endless
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | queue | |
max | .inf | integer | |
endless | .false | boolean |
Properties
Property | Type | Description |
---|---|---|
_ | type(*) | |
__ | type(*) | |
_private | queueprivate | |
add | function | |
clear | function | |
endless | boolean | |
get | function | |
getcount | function | |
isempty | function | |
remove | function | |
type | type |
Methods
add()
Description
Prototype
queuevar
.add
(
queue
,
type(*) me
)
item
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | queue | |
item | None | type(*) |
clear()
Description
Prototype
queuevar
.clear
(
queue
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | queue |
get()
Description
Prototype
queuevar
.get
(
queue
,
integer me
)
index
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | queue | |
index | None | integer |
getcount()
Description
Prototype
queuevar
.getcount
(
queue
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | queue |
isempty()
Description
Prototype
queuevar
.isempty
(
queue
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | queue |
remove()
Description
Prototype
queuevar
.remove
(
queue
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | queue |