c

App

class _Class extends DelayedInit

A convenient way to create Java main executable class

object MyMain extends App {

  "Hello World" lp

}
Ordering
  1. Alphabetic
Inherited
  1. App
  2. scala.DelayedInit
  3. scala.AnyRef
  4. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Constructor

  1. new App(verbose: Boolean = ON)

    verbose

    if true, prints application name, start, and end time

    Definition Classes
    _Class

Method

  1. def args: Refs[String]

    Arguments

    Arguments

    Application arguments the JVM was started with

    These are the arguments passed to

    def main(sa: Array[String])
    Definition Classes
    _Class
  2. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  3. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  4. def delayedInit(body: ⇒ Unit): Unit

    Delayed init

    Delayed init

    Implementation detail, it should not be used in code

    Definition Classes
    _Class → DelayedInit
  5. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  6. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def main(args: Array[String]): Unit

    Main

    Main

    Implementation detail, it should not be used in code

    Definition Classes
    _Class
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  14. def startTime: Time

    Start time

    Start time

    Application start time

    Definition Classes
    _Class
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Operator

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
Linear Supertypes
DelayedInit, AnyRef, Any
Known Subclasses
Source: _Class.scala