Warden-Supreme
Toggle table of contents
1.1.4
common
Target filter
common
Switch theme
Search in API
Skip to content
Warden-Supreme
supreme-common
/
at.asitplus.attestation.supreme
/
SortedSet
Sorted
Set
class
SortedSet
<
E
>
(
values
:
Collection
<
E
>
,
comparator
:
Comparator
<
E
>
,
hash
:
(
E
)
->
Int
=
{ it.hashCode() }
)
:
Set
<
E
>
(
source
)
A KMP-compatible immutable set backed by sorted values, never by attacker-controlled hashes.
Members
Constructors
Sorted
Set
Link copied to clipboard
constructor
(
values
:
Collection
<
E
>
,
comparator
:
Comparator
<
E
>
,
hash
:
(
E
)
->
Int
=
{ it.hashCode() }
)
Properties
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
E
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
E
>
)
:
Boolean
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
E
>