LongSet

open class LongSet : SetBase

For internal use only.

Constructors

Link copied to clipboard
constructor()
constructor(capacity: Int)

Construct a new set with {@link com.sap.cloud.mobile.kotlin.odata.LongSet#size LongSet.size} of zero and optional initial capacity. A set can expand in size beyond its initial capacity, but best performance will be obtained if the initial capacity is close to (and not less than) the set's maximum size.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun add(value: Long)

Add value to this set.

Link copied to clipboard
open fun addAll(from: LongSet)

Add all the items of from to this set.

Link copied to clipboard
open fun addThis(value: Long): LongSet

Add value to this set.

Link copied to clipboard
open fun copy(): LongSet

Return a shallow copy of this set.

Link copied to clipboard
open fun delete(value: Long): Boolean

For internal use only.

Link copied to clipboard
open fun has(value: Long): Boolean

Return true if this set contains value.

Link copied to clipboard
open fun remove(value: Long): Boolean

Remove value from this set.

Link copied to clipboard
open fun removeAll(values: LongSet)

Remove values from this set.

Link copied to clipboard

Return a sorted list of the values in this set.

Link copied to clipboard
open fun values(): LongList

Return a list of the values in this set.