Struct ejni::System

source · []
pub struct System<'a> { /* private fields */ }
Expand description

Wrapper around java.lang.System

Implementations

Create a new System abstraction

Removes the system property indicated by the specified key.

Returns the current time in milliseconds.

Terminates the currently running Java Virtual Machine.

Runs the garbage collector.

Returns an unmodifiable string map view of the current system environment.

Gets the value of the specified environment variable.

Gets the system property indicated by the specified key.

Returns the system-dependent line separator string.

Loads a code file with the specified filename from the local file system as a dynamic library.

Loads the system library specified by the libname argument.

Returns the current value of the running Java Virtual Machine’s high-resolution time source, in nanoseconds.

Runs the finalization methods of any objects pending finalization.

Sets the system property indicated by the specified key.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Look up the concrete type from the JVM.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.