Dotty Documentation

0.11.0-bin-SNAPSHOT

abstract class SimpleIdentitySet [ +Elem ]
extends Object

A simple linked set with eq as the comparison, optimized for small sets. It has linear complexity for contains, +, and -.

[-] Constructors

SimpleIdentitySet ( )

[-] Members

[+] def + ( x: E ) : SimpleIdentitySet [ E ]
[+] def ++ ( that: SimpleIdentitySet [ E ] ) : SimpleIdentitySet [ E ]
[+] def - ( x: E ) : SimpleIdentitySet [ Elem ]
[+] def -- ( that: SimpleIdentitySet [ E ] ) : SimpleIdentitySet [ Elem ]
[+] def contains ( x: E ) : Boolean
[+] def foreach ( f: Elem => Unit ) : Unit
[+] def size : Int
[+] def toList : List [ Elem ]
[+] override def toString : String