added jet.Iterator in import
(KT-2606 to avoid it)
This commit is contained in:
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun <in T> Array<T>.toSortedSet() : SortedSet<T> = toCollection(TreeSet<T>())
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun BooleanArray.toSortedSet() : SortedSet<Boolean> = toCollection(TreeSet<Boolean>())
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun ByteArray.toSortedSet() : SortedSet<Byte> = toCollection(TreeSet<Byte>())
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun CharArray.toSortedSet() : SortedSet<Char> = toCollection(TreeSet<Char>())
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun DoubleArray.toSortedSet() : SortedSet<Double> = toCollection(TreeSet<Double>())
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun FloatArray.toSortedSet() : SortedSet<Float> = toCollection(TreeSet<Float>())
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun IntArray.toSortedSet() : SortedSet<Int> = toCollection(TreeSet<Int>())
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun LongArray.toSortedSet() : SortedSet<Long> = toCollection(TreeSet<Long>())
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -10,6 +10,7 @@ package kotlin
|
||||
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun ShortArray.toSortedSet() : SortedSet<Short> = toCollection(TreeSet<Short>())
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package kotlin
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/**
|
||||
* Returns *true* if all elements match the given *predicate*
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package kotlin
|
||||
|
||||
import java.util.*
|
||||
import jet.Iterator
|
||||
|
||||
/** Copies all elements into a [[SortedSet]] */
|
||||
public inline fun <in T> Iterable<T>.toSortedSet() : SortedSet<T> = toCollection(TreeSet<T>())
|
||||
|
||||
Reference in New Issue
Block a user