Skip to content

Commit e13a6d4

Browse files
committed
Get rid of unused methods in dotty.tools.dotc.util.Set
1 parent e81439a commit e13a6d4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/dotty/tools/dotc/util/Set.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,8 @@ abstract class Set[T >: Null] {
1414

1515
def iterator: Iterator[T]
1616

17-
def foreach[U](f: T => U): Unit = iterator foreach f
18-
19-
def apply(x: T): Boolean = contains(x)
20-
2117
def contains(x: T): Boolean =
2218
findEntry(x) != null
2319

24-
def toList = iterator.toList
25-
2620
def clear: Unit
2721
}

0 commit comments

Comments
 (0)