summaryrefslogtreecommitdiff
path: root/sources/scala/collection/mutable/SynchronizedSet.scala
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scala/collection/mutable/SynchronizedSet.scala')
-rw-r--r--sources/scala/collection/mutable/SynchronizedSet.scala24
1 files changed, 12 insertions, 12 deletions
diff --git a/sources/scala/collection/mutable/SynchronizedSet.scala b/sources/scala/collection/mutable/SynchronizedSet.scala
index ce38dcc38d..37344a2020 100644
--- a/sources/scala/collection/mutable/SynchronizedSet.scala
+++ b/sources/scala/collection/mutable/SynchronizedSet.scala
@@ -30,28 +30,28 @@ trait SynchronizedSet[A] extends scala.collection.mutable.Set[A] with Monitor {
super.contains(elem);
}
- override def add(elem: A): Unit = synchronized {
- super.add(elem);
+ override def +=(elem: A): Unit = synchronized {
+ super.+=(elem);
}
- override def addAll(elems: A*): Unit = synchronized {
- super.addSet(elems);
+ override def incl(elems: A*): Unit = synchronized {
+ super.incl(elems);
}
- override def addSet(that: Iterable[A]) = synchronized {
- super.addSet(that);
+ override def incl(that: Iterable[A]) = synchronized {
+ super.incl(that);
}
- override def remove(elem: A): Unit = synchronized {
- super.remove(elem);
+ override def -=(elem: A): Unit = synchronized {
+ super.-=(elem);
}
- override def removeAll(elems: A*): Unit = synchronized {
- super.removeSet(elems);
+ override def excl(elems: A*): Unit = synchronized {
+ super.excl(elems);
}
- override def removeSet(that: Iterable[A]) = synchronized {
- super.removeSet(that);
+ override def excl(that: Iterable[A]) = synchronized {
+ super.excl(that);
}
override def intersect(that: Set[A]) = synchronized {