changes in MutableMap trait

This commit is contained in:
Svetlana Isakova
2012-09-04 19:05:35 +04:00
parent 02cf0258cb
commit fedf080a59
2 changed files with 12 additions and 14 deletions
+1 -3
View File
@@ -130,9 +130,7 @@ public trait MutableMap<K, V> : Map<K, V> {
public fun clear()
// Views
override fun keySet() : MutableSet<K>
override fun values() : MutableCollection<V>
override fun entrySet() : MutableSet<MutableMap.MutableEntry<K, V>>
override fun entrySet() : Set<MutableMap.MutableEntry<K, V>>
public trait MutableEntry<K,V> : Map.Entry<K, V>, Hashable {
public fun setValue(value : V) : V
+11 -11
View File
@@ -752,12 +752,12 @@ public abstract trait jet.List</*0*/ out E : jet.Any?> : jet.Collection<E> {
public abstract override /*1*/ fun toArray(): jet.Array<jet.Any?>
public abstract override /*1*/ fun </*0*/ T : jet.Any?>toArray(/*0*/ a: jet.Array<out T>): jet.Array<T>
}
public abstract trait jet.ListIterator</*0*/ E : jet.Any?> : jet.Iterator<E> {
public abstract trait jet.ListIterator</*0*/ T : jet.Any?> : jet.Iterator<T> {
public abstract override /*1*/ fun hasNext(): jet.Boolean
public abstract fun hasPrevious(): jet.Boolean
public abstract override /*1*/ fun next(): E
public abstract override /*1*/ fun next(): T
public abstract fun nextIndex(): jet.Int
public abstract fun previous(): E
public abstract fun previous(): T
public abstract fun previousIndex(): jet.Int
}
public final class jet.Long : jet.Number, jet.Comparable<jet.Long> {
@@ -932,22 +932,22 @@ public abstract trait jet.MutableList</*0*/ E : jet.Any?> : jet.List<E>, jet.Mut
public abstract override /*2*/ fun toArray(): jet.Array<jet.Any?>
public abstract override /*2*/ fun </*0*/ T : jet.Any?>toArray(/*0*/ a: jet.Array<out T>): jet.Array<T>
}
public abstract trait jet.MutableListIterator</*0*/ E : jet.Any?> : jet.ListIterator<E>, jet.MutableIterator<E> {
public abstract fun add(/*0*/ e: E): jet.Tuple0
public abstract trait jet.MutableListIterator</*0*/ T : jet.Any?> : jet.ListIterator<T>, jet.MutableIterator<T> {
public abstract fun add(/*0*/ e: T): jet.Tuple0
public abstract override /*2*/ fun hasNext(): jet.Boolean
public abstract override /*1*/ fun hasPrevious(): jet.Boolean
public abstract override /*2*/ fun next(): E
public abstract override /*2*/ fun next(): T
public abstract override /*1*/ fun nextIndex(): jet.Int
public abstract override /*1*/ fun previous(): E
public abstract override /*1*/ fun previous(): T
public abstract override /*1*/ fun previousIndex(): jet.Int
public abstract override /*1*/ fun remove(): jet.Tuple0
public abstract fun set(/*0*/ e: E): jet.Tuple0
public abstract fun set(/*0*/ e: T): jet.Tuple0
}
public abstract trait jet.MutableMap</*0*/ K : jet.Any?, /*1*/ V : jet.Any?> : jet.Map<K, V> {
public abstract fun clear(): jet.Tuple0
public abstract override /*1*/ fun containsKey(/*0*/ key: jet.Any?): jet.Boolean
public abstract override /*1*/ fun containsValue(/*0*/ value: jet.Any?): jet.Boolean
public abstract override /*1*/ fun entrySet(): jet.MutableSet<jet.MutableMap.MutableEntry<K, V>>
public abstract override /*1*/ fun entrySet(): jet.Set<jet.MutableMap.MutableEntry<K, V>>
public abstract override /*1*/ fun get(/*0*/ key: jet.Any?): V?
public abstract override /*1*/ fun isEmpty(): jet.Boolean
public abstract trait jet.MutableMap.MutableEntry</*0*/ K : jet.Any?, /*1*/ V : jet.Any?> : jet.Map.Entry<K, V>, jet.Hashable {
@@ -957,12 +957,12 @@ public abstract trait jet.MutableMap</*0*/ K : jet.Any?, /*1*/ V : jet.Any?> : j
public abstract override /*2*/ fun hashCode(): jet.Int
public abstract fun setValue(/*0*/ value: V): V
}
public abstract override /*1*/ fun keySet(): jet.MutableSet<K>
public abstract override /*1*/ fun keySet(): jet.Set<K>
public abstract fun put(/*0*/ key: K, /*1*/ value: V): V?
public abstract fun putAll(/*0*/ m: jet.Map<out K, out V>): jet.Tuple0
public abstract fun remove(/*0*/ key: jet.Any?): V?
public abstract override /*1*/ fun size(): jet.Int
public abstract override /*1*/ fun values(): jet.MutableCollection<V>
public abstract override /*1*/ fun values(): jet.Collection<V>
}
public abstract trait jet.MutableSet</*0*/ E : jet.Any?> : jet.Set<E>, jet.MutableCollection<E> {
public abstract override /*1*/ fun add(/*0*/ e: E): jet.Boolean