object Platform extends PlatformSpecific
- Alphabetic
- By Inheritance
- Platform
- PlatformSpecific
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addShutdownHook(action: () => Unit)(implicit unsafe: Unsafe): Unit
Adds a shutdown hook that executes the specified action on shutdown.
Adds a shutdown hook that executes the specified action on shutdown.
- Definition Classes
- PlatformSpecific
- final def addSignalHandler(signal: String, action: () => Unit)(implicit unsafe: Unsafe): Unit
Adds a signal handler for the specified signal (e.g.
Adds a signal handler for the specified signal (e.g. "INFO"). This method never fails even if adding the handler fails.
- Definition Classes
- PlatformSpecific
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def exit(code: Int)(implicit unsafe: Unsafe): Unit
Exits the application with the specified exit code.
Exits the application with the specified exit code.
- Definition Classes
- PlatformSpecific
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def getCurrentThreadGroup()(implicit unsafe: Unsafe): String
Returns the name of the thread group to which this thread belongs.
Returns the name of the thread group to which this thread belongs. This is a side-effecting method.
- Definition Classes
- PlatformSpecific
- final val hasGreenThreads: Boolean
- Definition Classes
- PlatformSpecific
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final val isJS: Boolean(false)
Returns whether the current platform is ScalaJS.
Returns whether the current platform is ScalaJS.
- Definition Classes
- PlatformSpecific
- final val isJVM: Boolean(true)
Returns whether the currently platform is the JVM.
Returns whether the currently platform is the JVM.
- Definition Classes
- PlatformSpecific
- final val isNative: Boolean(false)
Returns whether the currently platform is Scala Native.
Returns whether the currently platform is Scala Native.
- Definition Classes
- PlatformSpecific
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def newConcurrentMap[A, B]()(implicit unsafe: Unsafe): Map[A, B]
- Definition Classes
- PlatformSpecific
- final def newConcurrentSet[A](initialCapacity: Int)(implicit unsafe: Unsafe): Set[A]
- Definition Classes
- PlatformSpecific
- final def newConcurrentSet[A]()(implicit unsafe: Unsafe): Set[A]
- Definition Classes
- PlatformSpecific
- final def newConcurrentWeakSet[A]()(implicit unsafe: Unsafe): Set[A]
- Definition Classes
- PlatformSpecific
- final def newWeakHashMap[A, B]()(implicit unsafe: Unsafe): Map[A, B]
- Definition Classes
- PlatformSpecific
- final def newWeakReference[A](value: A)(implicit unsafe: Unsafe): () => A
- Definition Classes
- PlatformSpecific
- final def newWeakSet[A]()(implicit unsafe: Unsafe): Set[A]
- Definition Classes
- PlatformSpecific
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()