Impl

class Impl<T>(val pointers: MutablePointerList<T>) : MutablePointingList<T> (source)

The implementation of the MutablePointingList.

Since

0.1.0

Parameters

T

The type of the value the pointers point to

See also

Constructors

Link copied to clipboard
constructor(pointers: MutablePointerList<T>)

Properties

Link copied to clipboard
open override val pointers: MutablePointerList<T>

The list of pointers

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
open override fun add(element: T): Boolean
open override fun add(index: Int, element: T)
Link copied to clipboard
open override fun addAll(elements: Collection<T>): Boolean
open override fun addAll(index: Int, elements: Collection<T>): Boolean
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open operator override fun contains(element: T): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<T>): Boolean
Link copied to clipboard
open operator override fun get(index: Int): T
Link copied to clipboard
open override fun indexOf(element: T): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): MutableIterator<T>
Link copied to clipboard
open override fun lastIndexOf(element: T): Int
Link copied to clipboard
open override fun listIterator(): MutableListIterator<T>
open override fun listIterator(index: Int): MutableListIterator<T>
Link copied to clipboard

Create a mutable list of pointers pointing to the values of the list

Link copied to clipboard

Create a list of pointers pointing to the values of the list

Link copied to clipboard
open override fun remove(element: T): Boolean
Link copied to clipboard
open override fun removeAll(elements: Collection<T>): Boolean
Link copied to clipboard
open override fun removeAt(index: Int): T
Link copied to clipboard
open override fun retainAll(elements: Collection<T>): Boolean
Link copied to clipboard
open operator override fun set(index: Int, element: T): T
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): MutableList<T>
Link copied to clipboard

You can create a list that points to the values of a PointerList with this function.

You can create a list that points to the values of a MutablePointerList with this function.