rd-core
2023.2.3
rd-core
/
com.jetbrains.rd.util.collections
/
ImmutableStack
Immutable
Stack
class
ImmutableStack
<
T
:
Any
>
:
Iterable
<
T
>
Content copied to clipboard
Types
Functions
Properties
Extensions
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
for
Each
Link copied to clipboard
open
fun
forEach
(
p0
:
Consumer
<
in
T
>
)
Content copied to clipboard
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
T
>
Content copied to clipboard
peek
Link copied to clipboard
fun
peek
(
)
:
T
?
Content copied to clipboard
pop
Link copied to clipboard
fun
pop
(
)
:
Pair
<
ImmutableStack
<
T
>
,
T
>
?
Content copied to clipboard
push
Link copied to clipboard
fun
push
(
value
:
T
)
:
ImmutableStack
<
T
>
Content copied to clipboard
spliterator
Link copied to clipboard
open
fun
spliterator
(
)
:
Spliterator
<
T
>
Content copied to clipboard
Properties
is
Empty
Link copied to clipboard
val
isEmpty
:
Boolean
Content copied to clipboard
Extensions
tail
Link copied to clipboard
fun
<
T
:
Any
>
ImmutableStack
<
T
>
.
tail
(
)
:
ImmutableStack
<
T
>
Content copied to clipboard