KArray

interface KArray<T> : MutableList<T>

A MutableList to represent a JSON object.

Functions

add
Link copied to clipboard
abstract override fun add(element: T): Boolean
abstract fun add(index: Int, element: T)
addAll
Link copied to clipboard
abstract override fun addAll(elements: Collection<T>): Boolean
abstract fun addAll(index: Int, elements: Collection<T>): Boolean
clear
Link copied to clipboard
abstract override fun clear()
contains
Link copied to clipboard
abstract operator override fun contains(element: T): Boolean
containsAll
Link copied to clipboard
abstract override fun containsAll(elements: Collection<T>): Boolean
get
Link copied to clipboard
abstract operator fun get(index: Int): T
indexOf
Link copied to clipboard
abstract fun indexOf(element: T): Int
isEmpty
Link copied to clipboard
abstract override fun isEmpty(): Boolean
iterator
Link copied to clipboard
abstract operator override fun iterator(): Iterator<T>
lastIndexOf
Link copied to clipboard
abstract fun lastIndexOf(element: T): Int
listIterator
Link copied to clipboard
abstract override fun listIterator(): MutableListIterator<T>
abstract override fun listIterator(index: Int): MutableListIterator<T>
remove
Link copied to clipboard
abstract override fun remove(element: T): Boolean
removeAll
Link copied to clipboard
abstract override fun removeAll(elements: Collection<T>): Boolean
removeAt
Link copied to clipboard
abstract fun removeAt(index: Int): T
retainAll
Link copied to clipboard
abstract override fun retainAll(elements: Collection<T>): Boolean
set
Link copied to clipboard
abstract operator fun set(index: Int, element: T): T
subList
Link copied to clipboard
abstract override fun subList(fromIndex: Int, toIndex: Int): MutableList<T>

Properties

size
Link copied to clipboard
abstract override val size: Int