Able.Seal

trait Seal

Generic able to seal

Classes implementing Able.Seal allow some sort of mutation only until seal method is called

From this point any mutation attempt should fail

Source
Seal.scala
class java.lang.Object
trait scala.Matchable
class Any

Def

def isSealed: Boolean

Sealed check

Sealed check

Returns true if the instance is sealed

Source
Seal.scala

Seal object

Seal object

Seals this instance so it can be no longer modified

Source
Seal.scala