Elide API
Toggle table of contents
1.0.0-beta1
common
Platform filter
common
Switch theme
Search in API
Elide API
base
/
elide.struct
/
PresortedList
Presorted
List
common
class
PresortedList
<
Value
:
Comparable
<
Value
>
>
:
SortedList
<
Value
>
Members
Constructors
Presorted
List
Link copied to clipboard
common
constructor
(
)
constructor
(
values
:
Collection
<
Value
>
)
constructor
(
values
:
SortedList
<
Value
>
)
constructor
(
values
:
Collection
<
Value
>
,
comparator
:
<Error class: unknown class>
<
Value
>
?
)
Properties
size
Link copied to clipboard
common
open
override
val
size
:
Int
Functions
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
equals
Link copied to clipboard
common
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
get
Link copied to clipboard
common
open
operator override
fun
get
(
index
:
Int
)
:
Value
hash
Code
Link copied to clipboard
common
open
override
fun
hashCode
(
)
:
Int
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
(
)
:
Iterator
<
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
(
)
:
ListIterator
<
Value
>
open
override
fun
listIterator
(
index
:
Int
)
:
ListIterator
<
Value
>
sub
List
Link copied to clipboard
common
open
override
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
List
<
Value
>
to
Mutable
List
Link copied to clipboard
common
fun
toMutableList
(
)
:
MutablePresortedList
<
Value
>
to
String
Link copied to clipboard
common
open
override
fun
toString
(
)
:
String