Kevlar
2.0.13
common
kollections-interoperable
/
kollections.internal
/
AbstractCollection
Abstract
Collection
abstract
class
AbstractCollection
<
E
>
:
AbstractIterable
<
E
>
,
Collection
<
E
>
Inheritors
Queue
Members
Members & Extensions
Constructors
Abstract
Collection
Link copied to clipboard
constructor
(
)
Functions
associate
Link copied to clipboard
open
override
fun
<
K
,
V
>
associate
(
transformer
:
(
E
)
->
MapEntry
<
K
,
V
>
)
:
Map
<
K
,
V
>
contains
Link copied to clipboard
abstract
operator override
fun
contains
(
element
:
E
)
:
Boolean
contains
All
Link copied to clipboard
abstract
fun
containsAll
(
elements
:
Collection
<
E
>
)
:
Boolean
filter
Link copied to clipboard
open
override
fun
filter
(
predicate
:
(
E
)
->
Boolean
)
:
List
<
E
>
first
Link copied to clipboard
open
override
fun
first
(
)
:
E
first
Or
Null
Link copied to clipboard
open
override
fun
firstOrNull
(
)
:
E
?
for
Each
Link copied to clipboard
open
override
fun
forEach
(
lambda
:
(
item
:
E
)
->
Unit
)
for
Each
With
Index
Link copied to clipboard
open
override
fun
forEachWithIndex
(
lambda
:
(
item
:
E
,
index
:
Int
)
->
Unit
)
is
Empty
Link copied to clipboard
abstract
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
abstract
operator
fun
iterator
(
)
:
Iterator
<
E
>
map
Link copied to clipboard
open
override
fun
<
R
>
map
(
transform
:
(
item
:
E
)
->
R
)
:
List
<
R
>
map
To
Array
Link copied to clipboard
open
override
fun
<
R
>
mapToArray
(
transform
:
(
item
:
E
)
->
R
)
:
Array
<
R
>
map
To
Array
With
Index
Link copied to clipboard
open
override
fun
<
R
>
mapToArrayWithIndex
(
transform
:
(
item
:
E
,
index
:
Int
)
->
R
)
:
Array
<
R
>
map
With
Index
Link copied to clipboard
open
override
fun
<
R
>
mapWithIndex
(
transform
:
(
item
:
E
,
index
:
Int
)
->
R
)
:
List
<
R
>
to
IList
Link copied to clipboard
inline
fun
<
E
>
Collection
<
E
>
.
toIList
(
)
:
List
<
E
>
to
IMutable
List
Link copied to clipboard
inline
fun
<
E
>
Collection
<
E
>
.
toIMutableList
(
)
:
MutableList
<
E
>
to
IMutable
Set
Link copied to clipboard
inline
fun
<
E
>
Collection
<
E
>
.
toIMutableSet
(
)
:
MutableSet
<
E
>
to
ISet
Link copied to clipboard
inline
fun
<
E
>
Collection
<
E
>
.
toISet
(
)
:
Set
<
E
>
Properties
size
Link copied to clipboard
abstract
override
val
size
:
Int