Remove {set,clear,delete,size} from `SoyMap`.
@@ -50,15 +50,7 @@ goog.require('soy');
* @template K, V
*/
class SoyMap {
- constructor() {
- /**
- * The number of entries in the map.
- *
- * This should be treated as a readonly property.
- * @public {number}
- */
- this.size;
- }
+ constructor() {}
/**
* @param {K} k
@@ -66,24 +58,6 @@ class SoyMap {
*/
get(k) {}
- /**
- * @param {K} k
- * @param {V} v
- * @return {!SoyMap<K, V>}
- */
- set(k, v) {}
-
- /**
- * @param {K} k
- * @return {boolean} Whether any entry with this key was deleted.
- */
- delete(k) {}
-
- /**
- * Deletes all entries from the map.
- */
- clear() {}
-
/**
* @return {!IteratorIterable<K>} An iterator that contains the keys for each
* element in this map.
