toggle menu
acra
androidJvm
switch theme
search in API
acra
/
org.acra.collections
/
WeakStack
Weak
Stack
class
WeakStack
<
T
>
:
AbstractCollection
<
T
>
A stack which keeps only weak references
Author
F43nd1r
Since
5.3.0
Members
Members & Extensions
Constructors
Weak
Stack
Link copied to clipboard
constructor
(
)
Properties
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
add
Link copied to clipboard
open
override
fun
add
(
element
:
T
?
)
:
Boolean
add
All
Link copied to clipboard
open
override
fun
addAll
(
elements
:
Collection
<
T
>
)
:
Boolean
clear
Link copied to clipboard
open
override
fun
clear
(
)
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
T
?
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
T
>
)
:
Boolean
for
Each
Link copied to clipboard
open
fun
forEach
(
p0
:
Consumer
<
in
T
>
)
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
MutableIterator
<
T
?
>
map
Not
Null
To
Sparse
Array
Link copied to clipboard
inline
fun
<
T
,
R
:
Any
>
Iterable
<
T
>
.
mapNotNullToSparseArray
(
transform
:
(
T
)
->
Pair
<
Int
,
R
>
?
)
:
SparseArray
<
R
>
parallel
Stream
Link copied to clipboard
open
fun
parallelStream
(
)
:
Stream
<
T
>
peek
Link copied to clipboard
fun
peek
(
)
:
T
pop
Link copied to clipboard
fun
pop
(
)
:
T
remove
Link copied to clipboard
open
override
fun
remove
(
element
:
T
?
)
:
Boolean
remove
All
Link copied to clipboard
open
override
fun
removeAll
(
elements
:
Collection
<
T
>
)
:
Boolean
remove
If
Link copied to clipboard
open
fun
removeIf
(
p0
:
Predicate
<
in
T
>
)
:
Boolean
retain
All
Link copied to clipboard
open
override
fun
retainAll
(
elements
:
Collection
<
T
>
)
:
Boolean
spliterator
Link copied to clipboard
open
override
fun
spliterator
(
)
:
Spliterator
<
T
>
stream
Link copied to clipboard
open
fun
stream
(
)
:
Stream
<
T
>
to
Array
Link copied to clipboard
open
fun
toArray
(
)
:
Array
<
Any
>
open
fun
<
T
:
Any
>
toArray
(
p0
:
Array
<
T
>
)
:
Array
<
T
>
open
fun
<
T
:
Any
>
toArray
(
p0
:
IntFunction
<
Array
<
T
>
>
)
:
Array
<
T
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String