WrappedSList

class WrappedSList<T>(sList: SList, wrapPointer: VoidPointer.() -> T, getPointer: T.() -> VoidPointer) : FreeMe

gtk-kt

19 / 09 / 2021

Constructors

WrappedSList
Link copied to clipboard
fun <T> WrappedSList(sList: SList, wrapPointer: VoidPointer.() -> T, getPointer: T.() -> VoidPointer)

Types

Companion
Link copied to clipboard
object Companion

Functions

append
Link copied to clipboard
fun append(data: T): WrappedSList<T>
concat
Link copied to clipboard
fun concat(list: WrappedSList<T>): WrappedSList<T>
copy
Link copied to clipboard
fun copy(): WrappedSList<T>
copyDeep
Link copied to clipboard
fun copyDeep(func: (T) -> T): SList?
deleteLink
Link copied to clipboard
fun deleteLink(link: WrappedSList<T>): WrappedSList<T>
find
Link copied to clipboard
fun find(data: T): WrappedSList<T>?
forEach
Link copied to clipboard
fun forEach(action: (T) -> Unit)
free
Link copied to clipboard
open override fun free()
free1
Link copied to clipboard
fun free1()
get
Link copied to clipboard
fun get(index: UInt): WrappedSList<T>?
getData
Link copied to clipboard
fun getData(index: UInt): T?
getIndex
Link copied to clipboard
fun getIndex(data: T): Int
getPosition
Link copied to clipboard
fun getPosition(link: WrappedSList<T>): Int
insert
Link copied to clipboard
fun insert(position: Int, data: T): WrappedSList<T>
insertBefore
Link copied to clipboard
fun insertBefore(sibling: WrappedSList<T>, data: T): WrappedSList<T>
insertSorted
Link copied to clipboard
fun insertSorted(data: T, compare: (T?, T?) -> Int): WrappedSList<T>
last
Link copied to clipboard
fun last(): WrappedSList<T>?
prepend
Link copied to clipboard
fun prepend(data: T): WrappedSList<T>
remove
Link copied to clipboard
fun remove(data: T): WrappedSList<T>
removeAll
Link copied to clipboard
fun removeAll(data: T): WrappedSList<T>
removeLink
Link copied to clipboard
fun removeLink(link: WrappedSList<T>): WrappedSList<T>
reverse
Link copied to clipboard
fun reverse(): WrappedSList<T>
sort
Link copied to clipboard
fun sort(compare: (T?, T?) -> Int): SList

Properties

length
Link copied to clipboard
val length: UInt
sList
Link copied to clipboard
val sList: SList