Abstract Types - Scala Documentation


#1

Traits and abstract classes can have an abstract type member. This means that the concrete implementations define the actual type. Here’s an example:


This is a companion discussion topic for the original entry at http://docs.scala-lang.org/tutorials/tour/abstract-types.html.html