Elide API
Toggle table of contents
1.0.0-beta1
common
Platform filter
common
Switch theme
Search in API
Elide API
base
/
elide.struct
/
MutablePresortedList
Mutable
Presorted
List
common
class
MutablePresortedList
<
Value
:
Comparable
<
Value
>
>
:
MutableSortedList
<
Value
>
Members
Constructors
Mutable
Presorted
List
Link copied to clipboard
common
constructor
(
)
constructor
(
values
:
Collection
<
Value
>
)
constructor
(
comparator
:
<Error class: unknown class>
<
Value
>
?
)
constructor
(
values
:
Collection
<
Value
>
,
comparator
:
<Error class: unknown class>
<
Value
>
?
)
Properties
size
Link copied to clipboard
common
open
override
val
size
:
Int
Functions
add
Link copied to clipboard
common
open
override
fun
add
(
element
:
Value
)
:
Boolean
open
override
fun
add
(
index
:
Int
,
element
:
Value
)
add
All
Link copied to clipboard
common
open
override
fun
addAll
(
elements
:
Collection
<
Value
>
)
:
Boolean
open
override
fun
addAll
(
index
:
Int
,
elements
:
Collection
<
Value
>
)
:
Boolean
clear
Link copied to clipboard
common
open
override
fun
clear
(
)
contains
Link copied to clipboard
common
open
operator override
fun
contains
(
element
:
Value
)
:
Boolean
contains
All
Link copied to clipboard
common
open
override
fun
containsAll
(
elements
:
Collection
<
Value
>
)
:
Boolean
get
Link copied to clipboard
common
open
operator override
fun
get
(
index
:
Int
)
:
Value
index
Of
Link copied to clipboard
common
open
override
fun
indexOf
(
element
:
Value
)
:
Int
is
Empty
Link copied to clipboard
common
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
common
open
operator override
fun
iterator
(
)
:
MutableIterator
<
Value
>
last
Index
Of
Link copied to clipboard
common
open
override
fun
lastIndexOf
(
element
:
Value
)
:
Int
list
Iterator
Link copied to clipboard
common
open
override
fun
listIterator
(
)
:
MutableListIterator
<
Value
>
open
override
fun
listIterator
(
index
:
Int
)
:
MutableListIterator
<
Value
>
remove
Link copied to clipboard
common
open
override
fun
remove
(
element
:
Value
)
:
Boolean
remove
All
Link copied to clipboard
common
open
override
fun
removeAll
(
elements
:
Collection
<
Value
>
)
:
Boolean
remove
At
Link copied to clipboard
common
open
override
fun
removeAt
(
index
:
Int
)
:
Value
retain
All
Link copied to clipboard
common
open
override
fun
retainAll
(
elements
:
Collection
<
Value
>
)
:
Boolean
set
Link copied to clipboard
common
open
operator override
fun
set
(
index
:
Int
,
element
:
Value
)
:
Value
sub
List
Link copied to clipboard
common
open
override
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
MutableList
<
Value
>