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> {
|
public fun <T: Comparable<T>> Array<out T>.toSortedSet(): java.util.SortedSet<T> {
|
||||||
return toCollection(java.util.TreeSet<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> {
|
public fun ByteArray.toSortedSet(): java.util.SortedSet<Byte> {
|
||||||
return toCollection(java.util.TreeSet<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> {
|
public fun ShortArray.toSortedSet(): java.util.SortedSet<Short> {
|
||||||
return toCollection(java.util.TreeSet<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> {
|
public fun IntArray.toSortedSet(): java.util.SortedSet<Int> {
|
||||||
return toCollection(java.util.TreeSet<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> {
|
public fun LongArray.toSortedSet(): java.util.SortedSet<Long> {
|
||||||
return toCollection(java.util.TreeSet<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> {
|
public fun FloatArray.toSortedSet(): java.util.SortedSet<Float> {
|
||||||
return toCollection(java.util.TreeSet<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> {
|
public fun DoubleArray.toSortedSet(): java.util.SortedSet<Double> {
|
||||||
return toCollection(java.util.TreeSet<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> {
|
public fun BooleanArray.toSortedSet(): java.util.SortedSet<Boolean> {
|
||||||
return toCollection(java.util.TreeSet<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> {
|
public fun CharArray.toSortedSet(): java.util.SortedSet<Char> {
|
||||||
return toCollection(java.util.TreeSet<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].
|
* 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> {
|
public fun <T: Comparable<T>> Iterable<T>.toSortedSet(): java.util.SortedSet<T> {
|
||||||
return toCollection(java.util.TreeSet<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].
|
* 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_.
|
* 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].
|
* 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> {
|
public fun CharSequence.toSortedSet(): java.util.SortedSet<Char> {
|
||||||
return toCollection(java.util.TreeSet<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
|
@JvmVersion
|
||||||
public fun <T> sortedSetOf(vararg elements: T): java.util.TreeSet<T> = elements.toCollection(java.util.TreeSet<T>())
|
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
|
@JvmVersion
|
||||||
public fun <T> sortedSetOf(comparator: Comparator<in T>, vararg elements: T): java.util.TreeSet<T> = elements.toCollection(java.util.TreeSet<T>(comparator))
|
public fun <T> sortedSetOf(comparator: Comparator<in T>, vararg elements: T): java.util.TreeSet<T> = elements.toCollection(java.util.TreeSet<T>(comparator))
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ object Snapshots : TemplateGroupBase() {
|
|||||||
platforms(Platform.JVM)
|
platforms(Platform.JVM)
|
||||||
} builder {
|
} builder {
|
||||||
typeParam("T: Comparable<T>")
|
typeParam("T: Comparable<T>")
|
||||||
doc { "Returns a [SortedSet] of all ${f.element.pluralize()}." }
|
doc { "Returns a [SortedSet][java.util.SortedSet] of all ${f.element.pluralize()}." }
|
||||||
returns("java.util.SortedSet<T>")
|
returns("java.util.SortedSet<T>")
|
||||||
body { "return toCollection(java.util.TreeSet<T>())" }
|
body { "return toCollection(java.util.TreeSet<T>())" }
|
||||||
}
|
}
|
||||||
@@ -111,7 +111,7 @@ object Snapshots : TemplateGroupBase() {
|
|||||||
} builder {
|
} builder {
|
||||||
doc {
|
doc {
|
||||||
"""
|
"""
|
||||||
Returns a [SortedSet] of all ${f.element.pluralize()}.
|
Returns a [SortedSet][java.util.SortedSet] of all ${f.element.pluralize()}.
|
||||||
|
|
||||||
Elements in the set returned are sorted according to the given [comparator].
|
Elements in the set returned are sorted according to the given [comparator].
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user