Temporary added explicit imports of java.util.Collections into stdlib

This commit is contained in:
Valentin Kipyatkov
2014-12-25 16:11:14 +03:00
parent 0b701950ac
commit 817b86a820
16 changed files with 30 additions and 0 deletions
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns *true* if all elements match the given *predicate*
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns true if the array is empty
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns 1st *element* from the collection.
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns a list containing all elements except first *n* elements
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns a list of values built from elements of both collections with same indexes using provided *transform*. List has length of shortest collection.
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns an original collection containing all the non-*null* elements, throwing an [[IllegalArgumentException]] if there are any null elements
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns a single list of all elements yielded from results of *transform* function being invoked on each element of original collection
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns the sum of all elements in the collection
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns a list with elements in reversed order
*/
+2
View File
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns a set containing all distinct elements from the given collection.
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns an ArrayList of all elements
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Searches array or range of array for provided element index using binary search algorithm. Array is expected to be sorted.
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Returns a stream from the given collection
*/
@@ -7,6 +7,8 @@ package kotlin
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js
/**
* Appends the string from all the elements separated using the *separator* and using the given *prefix* and *postfix* if supplied
* If a collection could be huge you can specify a non-negative value of *limit* which will only show a subset of the collection then it will