shadow:standard

Singleton System

Parent class

shadow:standard@Object

immutable singleton System

Singleton System provides access to a few useful system settings and values.

Create Summary

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

Destroy Summary

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

Method Summary

Modifiers Return Types Method and Description
public readonly (System) copy(AddressMap addresses)
public readonly locked (nullable String) getEnvironment(String variable)

Property Summary

Modifiers Return Types Method and Description
public readonly get locked (long) epochNanoTime()

Returns the number of nanoseconds elapsed since the Unix Epoch, 12:00:00 AM January 1, 1970.

public readonly get locked (boolean) isWindows()
public readonly get locked (long) nanoTime()
public readonly get locked (String) osName()
public readonly get locked (String) osVersion()

Create Detail

create

public create() => ()

Destroy Detail

destroy

public destroy() => ()

Method Detail

copy

public readonly copy(AddressMap addresses) => (System)

getEnvironment

public readonly locked getEnvironment(String variable) => (nullable String)

Property Detail

epochNanoTime

public readonly get locked epochNanoTime() => (long)

Returns the number of nanoseconds elapsed since the Unix Epoch, 12:00:00 AM January 1, 1970. Accuracy will usually be much coarser than nanoseconds and is dependent on hardware and software system characteristics.

Returns

nanoseconds elapsed since midnight on January 1, 1970

isWindows

public readonly get locked isWindows() => (boolean)

nanoTime

public readonly get locked nanoTime() => (long)

osName

public readonly get locked osName() => (String)

osVersion

public readonly get locked osVersion() => (String)