Operation

com.phasmidsoftware.number.core.inner.Operation
sealed trait Operation

Represents an operation in a system. This trait serves as a base for different types of operations that can be implemented. Being sealed, all implementations must be defined in the same file, ensuring exhaustive pattern matching.

Use this trait to model behaviors or actions that can be carried out, ensuring type safety and enabling pattern matching on specific operations.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
In this article