Kactoos

kactoos-jvm / nnl.rocks.kactoos.list / EmptyList

EmptyList

class EmptyList<out E : Any> : List<E>

Constructors

Name Summary
<init> EmptyList()

Properties

Name Summary
size val size: Int

Functions

Name Summary
contains fun contains(element: E): Boolean
containsAll fun containsAll(elements: Collection<E>): Boolean
get fun get(index: Int): E
indexOf fun indexOf(element: E): Int
isEmpty fun isEmpty(): Boolean
iterator fun iterator(): Iterator<E>
lastIndexOf fun lastIndexOf(element: E): Int
listIterator fun listIterator(): ListIterator<E>
fun listIterator(index: Int): ListIterator<E>
subList fun subList(fromIndex: Int, toIndex: Int): List<E>