Fix unresolved references to SortedSet in docs
This commit is contained in:
@@ -8020,70 +8020,70 @@ public fun CharArray.toSet(): Set<Char> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun <T: Comparable<T>> Array<out T>.toSortedSet(): java.util.SortedSet<T> {
|
||||
return toCollection(java.util.TreeSet<T>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun ByteArray.toSortedSet(): java.util.SortedSet<Byte> {
|
||||
return toCollection(java.util.TreeSet<Byte>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun ShortArray.toSortedSet(): java.util.SortedSet<Short> {
|
||||
return toCollection(java.util.TreeSet<Short>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun IntArray.toSortedSet(): java.util.SortedSet<Int> {
|
||||
return toCollection(java.util.TreeSet<Int>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun LongArray.toSortedSet(): java.util.SortedSet<Long> {
|
||||
return toCollection(java.util.TreeSet<Long>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun FloatArray.toSortedSet(): java.util.SortedSet<Float> {
|
||||
return toCollection(java.util.TreeSet<Float>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun DoubleArray.toSortedSet(): java.util.SortedSet<Double> {
|
||||
return toCollection(java.util.TreeSet<Double>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun BooleanArray.toSortedSet(): java.util.SortedSet<Boolean> {
|
||||
return toCollection(java.util.TreeSet<Boolean>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun CharArray.toSortedSet(): java.util.SortedSet<Char> {
|
||||
return toCollection(java.util.TreeSet<Char>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*
|
||||
* Elements in the set returned are sorted according to the given [comparator].
|
||||
*/
|
||||
|
||||
@@ -1115,14 +1115,14 @@ public fun <T> Iterable<T>.toSet(): Set<T> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*/
|
||||
public fun <T: Comparable<T>> Iterable<T>.toSortedSet(): java.util.SortedSet<T> {
|
||||
return toCollection(java.util.TreeSet<T>())
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*
|
||||
* Elements in the set returned are sorted according to the given [comparator].
|
||||
*/
|
||||
|
||||
@@ -696,7 +696,7 @@ public fun <T> Sequence<T>.toSet(): Set<T> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*
|
||||
* The operation is _terminal_.
|
||||
*/
|
||||
@@ -705,7 +705,7 @@ public fun <T: Comparable<T>> Sequence<T>.toSortedSet(): java.util.SortedSet<T>
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all elements.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all elements.
|
||||
*
|
||||
* Elements in the set returned are sorted according to the given [comparator].
|
||||
*
|
||||
|
||||
@@ -626,7 +626,7 @@ public fun CharSequence.toSet(): Set<Char> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a [SortedSet] of all characters.
|
||||
* Returns a [SortedSet][java.util.SortedSet] of all characters.
|
||||
*/
|
||||
public fun CharSequence.toSortedSet(): java.util.SortedSet<Char> {
|
||||
return toCollection(java.util.TreeSet<Char>())
|
||||
|
||||
@@ -88,13 +88,13 @@ public fun <T> setOf(element: T): Set<T> = java.util.Collections.singleton(eleme
|
||||
|
||||
|
||||
/**
|
||||
* Returns a new [SortedSet] with the given elements.
|
||||
* Returns a new [java.util.SortedSet] with the given elements.
|
||||
*/
|
||||
@JvmVersion
|
||||
public fun <T> sortedSetOf(vararg elements: T): java.util.TreeSet<T> = elements.toCollection(java.util.TreeSet<T>())
|
||||
|
||||
/**
|
||||
* Returns a new [SortedSet] with the given [comparator] and elements.
|
||||
* Returns a new [java.util.SortedSet] with the given [comparator] and elements.
|
||||
*/
|
||||
@JvmVersion
|
||||
public fun <T> sortedSetOf(comparator: Comparator<in T>, vararg elements: T): java.util.TreeSet<T> = elements.toCollection(java.util.TreeSet<T>(comparator))
|
||||
|
||||
Reference in New Issue
Block a user