diff --git a/js/js.libraries/src/core/javautil.kt b/js/js.libraries/src/core/javautil.kt index d70f53b79c2..b8b7b2fc054 100644 --- a/js/js.libraries/src/core/javautil.kt +++ b/js/js.libraries/src/core/javautil.kt @@ -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 @native @@ -68,17 +84,6 @@ public open class ArrayList(capacity: Int = 0) : AbstractList() { override val size: Int get() = noImpl } -@library -public open class LinkedList() : AbstractList() { - 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 public open class HashSet( initialCapacity: Int = DEFAULT_INITIAL_CAPACITY, loadFactor: Float = DEFAULT_LOAD_FACTOR