agl-processor
/
net.akehurst.language.collections
/
Stack
common
Stack
class
Stack
<
T
>(items:
List
<
T
>)
Content copied to clipboard
Types
Functions
Properties
Types
PopResult
Link copied to clipboard
common
class
PopResult
<
T
>(item:
T
, stack:
Stack
<
T
>)
Content copied to clipboard
Functions
peek
Link copied to clipboard
common
fun
peek
():
T
Content copied to clipboard
peekOrNull
Link copied to clipboard
common
fun
peekOrNull
():
T
?
Content copied to clipboard
pop
Link copied to clipboard
common
fun
pop
():
Stack.PopResult
<
T
>
Content copied to clipboard
push
Link copied to clipboard
common
fun
push
(item:
T
):
Stack
<
T
>
Content copied to clipboard
pushAll
Link copied to clipboard
common
fun
pushAll
(items:
List
<
T
>):
Stack
<
T
>
Content copied to clipboard
Properties
elements
Link copied to clipboard
common
val
elements
:
List
<
T
>
Content copied to clipboard
isEmpty
Link copied to clipboard
common
val
isEmpty
:
Boolean
Content copied to clipboard
items
Link copied to clipboard
common
val
items
:
List
<
T
>
Content copied to clipboard
size
Link copied to clipboard
common
val
size
:
Int
Content copied to clipboard