| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Type[] | |
| private final NativeClosureManager | |
| pack-priv final WeakHashMap | |
| private final NativeMemoryManager |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static NativeType[] | |
| private static EnumMap | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public Type | findType(TypeAlias
the type alias. type)Implements abstract jnr. |
| public NativeClosureManager | getClosureManager()
Implements abstract jnr. |
| public static NativeRuntime | |
| public int | getLastError()
Implements abstract jnr. |
| public static List | getLoadedLibraries()
Hides jnr. Runtime#getLoadedLibraries() (which forwards here) instead of this directly
|
| public final NativeMemoryManager | getMemoryManager()
Implements abstract jnr. |
| public int | |
| public boolean | isCompatible(Runtime
the other runtime to test for compatibility other)Implements abstract jnr. Runtime instance is compatible with another Runtime instance.
|
| private static Type | |
| public ObjectReferenceManager | newObjectReferenceManager()
Implements abstract jnr. ObjectReferenceManager
|
| public void | setLastError(int
The value to set errno to. error)Implements abstract jnr. |
| aliases | back to summary |
|---|---|
| private final Type[] aliases | |
| closureManager | back to summary |
|---|---|
| private final NativeClosureManager closureManager | |
| loadedLibraries | back to summary |
|---|---|
| pack-priv final WeakHashMap<NativeLibrary, NativeLibrary. | |
| mm | back to summary |
|---|---|
| private final NativeMemoryManager mm | |
| NativeRuntime | back to summary |
|---|---|
| private NativeRuntime() | |
| buildNativeTypeAliases | back to summary |
|---|---|
| private static NativeType[] buildNativeTypeAliases() | |
| buildTypeMap | back to summary |
|---|---|
| private static EnumMap | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findType | back to summary |
|---|---|
| public Type findType(TypeAlias type) Implements abstract jnr. Doc from jnr. Looks up the runtime-specific type that corresponds to the type alias | |
| getClosureManager | back to summary |
|---|---|
| public NativeClosureManager getClosureManager() Implements abstract jnr. Doc from jnr. Gets the native closure manager for this runtime
| |
| getInstance | back to summary |
|---|---|
| public static NativeRuntime getInstance() | |
| getLastError | back to summary |
|---|---|
| public int getLastError() Implements abstract jnr. Doc from jnr. Gets the last native error code. This returns the errno value that was set at the time of the last native function call.
| |
| getLoadedLibraries | back to summary |
|---|---|
| public static List Hides jnr. See and use
| |
| getMemoryManager | back to summary |
|---|---|
| public final NativeMemoryManager getMemoryManager() Implements abstract jnr. Doc from jnr. Gets the native memory manager instance for this runtime
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isCompatible | back to summary |
|---|---|
| public boolean isCompatible(Runtime other) Implements abstract jnr. Doc from jnr. Indicates whether this
This is not the same as calling This is mostly for internal use. | |
| jafflType | back to summary |
|---|---|
| private static Type jafflType(NativeType type) | |
| newObjectReferenceManager | back to summary |
|---|---|
| public ObjectReferenceManager Implements abstract jnr. Doc from jnr. Creates a new
| |
| setLastError | back to summary |
|---|---|
| public void setLastError(int error) Implements abstract jnr. Doc from jnr. Sets the native error code.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final NativeRuntime |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| public static final NativeRuntime INSTANCE | |
| SingletonHolder | back to summary |
|---|---|
| private SingletonHolder() | |
| Modifier and Type | Field and Description |
|---|---|
| private final NativeType | |
| private final Type |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public NativeType | |
| public int | |
| public String |
| nativeType | back to summary |
|---|---|
| private final NativeType nativeType | |
| type | back to summary |
|---|---|
| private final Type type | |
| TypeDelegate | back to summary |
|---|---|
| public TypeDelegate(Type type, NativeType nativeType) | |
| alignment | back to summary |
|---|---|
| public int alignment() Implements abstract jnr. Doc from jnr. The native alignment of this type, in bytes
| |
| getNativeType | back to summary |
|---|---|
| public NativeType getNativeType() Implements abstract jnr. Doc from jnr. The native type of this type
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract jnr. Doc from jnr. The size in bytes of this type.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |