Rachel
Toggle table of contents
3.6.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.foundation.filesystem
/
love.yinlin.io
/
Sources
Sources
class
Sources
<
S
:
RawSource
>
(
sources
:
MutableList
<
S
>
=
mutableListOf()
)
:
AutoCloseable
,
MutableList
<
S
>
Members
Members & Extensions
Constructors
Sources
Link copied to clipboard
constructor
(
sources
:
MutableList
<
S
>
=
mutableListOf()
)
Properties
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
add
Link copied to clipboard
@
IgnorableReturnValue
open
override
fun
add
(
element
:
S
)
:
Boolean
open
override
fun
add
(
index
:
Int
,
element
:
S
)
add
All
Link copied to clipboard
@
IgnorableReturnValue
open
override
fun
addAll
(
elements
:
Collection
<
S
>
)
:
Boolean
@
IgnorableReturnValue
open
override
fun
addAll
(
index
:
Int
,
elements
:
Collection
<
S
>
)
:
Boolean
clear
Link copied to clipboard
open
override
fun
clear
(
)
close
Link copied to clipboard
open
override
fun
close
(
)
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
S
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
S
>
)
:
Boolean
get
Link copied to clipboard
open
operator override
fun
get
(
index
:
Int
)
:
S
index
Of
Link copied to clipboard
open
override
fun
indexOf
(
element
:
S
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
MutableIterator
<
S
>
last
Index
Of
Link copied to clipboard
open
override
fun
lastIndexOf
(
element
:
S
)
:
Int
list
Iterator
Link copied to clipboard
open
override
fun
listIterator
(
)
:
MutableListIterator
<
S
>
open
override
fun
listIterator
(
index
:
Int
)
:
MutableListIterator
<
S
>
remove
Link copied to clipboard
@
IgnorableReturnValue
open
override
fun
remove
(
element
:
S
)
:
Boolean
remove
All
Link copied to clipboard
@
IgnorableReturnValue
open
override
fun
removeAll
(
elements
:
Collection
<
S
>
)
:
Boolean
remove
At
Link copied to clipboard
@
IgnorableReturnValue
open
override
fun
removeAt
(
index
:
Int
)
:
S
retain
All
Link copied to clipboard
@
IgnorableReturnValue
open
override
fun
retainAll
(
elements
:
Collection
<
S
>
)
:
Boolean
safe
Raw
Sources
Link copied to clipboard
@
IOCoroutine
suspend
fun
Collection
<
File
>
.
safeRawSources
(
)
:
Sources
<
RawSource
>
?
safe
Sources
Link copied to clipboard
@
IOCoroutine
suspend
fun
Collection
<
File
>
.
safeSources
(
)
:
Sources
<
Source
>
?
safe
To
Sources
Link copied to clipboard
inline
fun
<
T
,
S
:
RawSource
>
Collection
<
T
>
.
safeToSources
(
block
:
(
T
)
->
S
?
)
:
Sources
<
S
>
?
set
Link copied to clipboard
@
IgnorableReturnValue
open
operator override
fun
set
(
index
:
Int
,
element
:
S
)
:
S
sub
List
Link copied to clipboard
open
override
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
MutableList
<
S
>