trait Creator[+T] extends Serializable

A constructor/factory, takes no parameters but creates a new value of type T every call.

Annotations
@SerialVersionUID()
Source
Function.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Creator
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def create(): T

    This method must return a different instance upon every call.

    This method must return a different instance upon every call.

    Annotations
    @throws( classOf[Exception] )