blob: 2daf93f3088df2683757e237ccfdcb02e2b0c8ba (
plain) (
tree)
|
|
import java.lang.Thread.State
import java.lang.Thread.State._
object Test {
def f(state: State) = state match {
case NEW | WAITING => true
case RUNNABLE => false
// and I forget the rest
}
}
|