shadow:standard

Interface CanCreate

interface CanCreate

Interface CanCreate specifies that a class has a default create() method, one with no arguments. Classes that implement this interface can be created even if they are only represented as a type parameter. Interfaces specifying arbitrarily complex create methods are legal, but this interface is so universally valuable that it is included in the standard library.

Create Summary

Modifiers Return Types Method and Description
public () create()

Default create() method.

Create Detail

create

public create() => ()

Default create() method.