JS: Remove LinkedList declaration since the implementation is missing.
#KT-7480 Fixed
This commit is contained in:
@@ -1,3 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010-2016 JetBrains s.r.o.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
package java.util
|
package java.util
|
||||||
|
|
||||||
@native
|
@native
|
||||||
@@ -68,17 +84,6 @@ public open class ArrayList<E>(capacity: Int = 0) : AbstractList<E>() {
|
|||||||
override val size: Int get() = noImpl
|
override val size: Int get() = noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
@library
|
|
||||||
public open class LinkedList<E>() : AbstractList<E>() {
|
|
||||||
override fun get(index: Int): E = noImpl
|
|
||||||
override fun set(index: Int, element: E): E = noImpl
|
|
||||||
override fun add(index: Int, element: E): Unit = noImpl
|
|
||||||
|
|
||||||
public fun poll(): E? = noImpl
|
|
||||||
public fun peek(): E? = noImpl
|
|
||||||
public fun offer(e: E): Boolean = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
@library
|
@library
|
||||||
public open class HashSet<E>(
|
public open class HashSet<E>(
|
||||||
initialCapacity: Int = DEFAULT_INITIAL_CAPACITY, loadFactor: Float = DEFAULT_LOAD_FACTOR
|
initialCapacity: Int = DEFAULT_INITIAL_CAPACITY, loadFactor: Float = DEFAULT_LOAD_FACTOR
|
||||||
|
|||||||
Reference in New Issue
Block a user