EnumCompanion
EnumCompanion is a type to be extended by all enum
companion objects to integrate them with Scalqa containers.
This is a recommended step, which might not be nessesasy in simple cases
enum Direction:
case Up,Down,Left,Right
object Direction extends EnumCompanion[Direction]
Direction.stream.tp
// Output
Stream(Up, Down, Left, Right)
- Source
- EnumCompanion.scala
trait Idx[EnumCompanion.A]
trait Collection[EnumCompanion.A]
trait Able.Size
trait Able.Stream[EnumCompanion.A]
class java.lang.Object
trait scala.Matchable
class Any
object Fx.HPos
object Fx.Orientation
object Fx.Pos
object Fx.Side
object Fx.VPos
object Fx.Event.Mouse.Button
object Fx.Selection.Mode
object Fx.Shape.Path.FillRule
object Fx.Table.SortMode
object Week.Day
Def
Stream
Stream
Enum values as a stream, ordered by ordinal
property
- Definition Classes
- Source
- EnumCompanion.scala