Declare List.add in stdlib
Declare List.add in stdlib
This commit is contained in:
parent
1fab2702dd
commit
24c4ed85b4
@ -7,7 +7,6 @@ extern class Exception
|
|||||||
extern class IllegalArgumentException
|
extern class IllegalArgumentException
|
||||||
extern class NotImplementedException
|
extern class NotImplementedException
|
||||||
extern class Delegate
|
extern class Delegate
|
||||||
|
|
||||||
extern class Iterable<T> {
|
extern class Iterable<T> {
|
||||||
fun iterator(): Iterator<T>
|
fun iterator(): Iterator<T>
|
||||||
fun forEach(action: (T)->Void): Void
|
fun forEach(action: (T)->Void): Void
|
||||||
@ -29,6 +28,7 @@ extern class Array<T> : Collection<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
extern class List<T> : Array<T> {
|
extern class List<T> : Array<T> {
|
||||||
|
fun add(value: T, more...): Void
|
||||||
}
|
}
|
||||||
|
|
||||||
extern class Set<T> : Collection<T> {
|
extern class Set<T> : Collection<T> {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user