Google is committed to advancing racial equity for Black communities. See how.

TreeSet

expect class TreeSet<E>
kotlin.Any
   ↳ androidx.compose.ui.util.TreeSet.TreeSet

Summary

Public constructors
<init>(comparator: Comparator<in E>)

Public methods
Boolean
add(element: E)

Boolean
contains(element: E)

E

Boolean

Boolean
remove(element: E)

Public constructors

<init>

TreeSet(comparator: Comparator<in E>)

Public methods

add

fun add(element: E): Boolean

contains

fun contains(element: E): Boolean

first

fun first(): E

isEmpty

fun isEmpty(): Boolean

remove

fun remove(element: E): Boolean