littlekt
0.6.0
common
core
/
com.lehaine.littlekt.util.datastructure
/
TGenStack
TGen
Stack
class
TGenStack
<
TGen
>
:
Collection
<
TGen
>
A LIFO (Last In First Out) structure.
Constructors
Functions
Properties
Constructors
TGen
Stack
Link copied to clipboard
fun
<
TGen
>
TGenStack
(
vararg
items
:
TGen
)
TGen
Stack
Link copied to clipboard
fun
TGenStack
(
)
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
TGen
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
TGen
>
)
:
Boolean
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
TGen
>
peek
Link copied to clipboard
fun
peek
(
)
:
TGen
?
pop
Link copied to clipboard
fun
pop
(
)
:
TGen
push
Link copied to clipboard
fun
push
(
v
:
TGen
)
Properties
size
Link copied to clipboard
open
override
val
size
:
Int