toggle menu
vc-k
5.8.0-SNAPSHOT
common
switch theme
search in API
openid-data-classes
/
at.asitplus.data
/
NonEmptyList
Non
Empty
List
@
Serializable
@
JvmInline
value
class
NonEmptyList
<
out
T
>
:
List
<
T
>
(
source
)
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Properties
list
Link copied to clipboard
val
list
:
List
<
T
>
size
Link copied to clipboard
open
val
size
:
Int
Functions
contains
Link copied to clipboard
open
operator
fun
contains
(
element
:
T
)
:
Boolean
contains
All
Link copied to clipboard
open
fun
containsAll
(
elements
:
Collection
<
T
>
)
:
Boolean
content
Equals
Link copied to clipboard
fun
Hashes
?
.
contentEquals
(
other
:
Hashes
?
)
:
Boolean
content
Hash
Code
Link copied to clipboard
fun
Hashes
.
contentHashCode
(
)
:
Int
get
Link copied to clipboard
open
operator
fun
get
(
index
:
Int
)
:
T
index
Of
Link copied to clipboard
open
fun
indexOf
(
element
:
T
)
:
Int
is
Empty
Link copied to clipboard
open
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator
fun
iterator
(
)
:
Iterator
<
T
>
last
Index
Of
Link copied to clipboard
open
fun
lastIndexOf
(
element
:
T
)
:
Int
list
Iterator
Link copied to clipboard
open
fun
listIterator
(
)
:
ListIterator
<
T
>
open
fun
listIterator
(
index
:
Int
)
:
ListIterator
<
T
>
require
Distinct
Link copied to clipboard
fun
<
ValueType
,
KeyType
>
Iterable
<
ValueType
>
.
requireDistinct
(
identifier
:
(
ValueType
)
->
KeyType
)
require
Distinct
Not
Null
Link copied to clipboard
fun
<
ValueType
,
KeyType
:
Any
>
Iterable
<
ValueType
>
.
requireDistinctNotNull
(
identifier
:
(
ValueType
)
->
KeyType
?
)
require
Is
Not
Empty
Link copied to clipboard
fun
<
T
>
Collection
<
T
>
.
requireIsNotEmpty
(
)
sub
List
Link copied to clipboard
open
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
List
<
T
>
to
Non
Empty
List
Link copied to clipboard
fun
<
T
>
List
<
T
>
.
toNonEmptyList
(
)
:
NonEmptyList
<
T
>