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
- Alphabetic
- By Inheritance
Inherited
- Creator
- Serializable
- Serializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
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] )