Package info.freelibrary.util
Enum NativeLibraryLoader.Architecture
- java.lang.Object
-
- java.lang.Enum<NativeLibraryLoader.Architecture>
-
- info.freelibrary.util.NativeLibraryLoader.Architecture
-
- All Implemented Interfaces:
Serializable
,Comparable<NativeLibraryLoader.Architecture>
- Enclosing class:
- NativeLibraryLoader
public static enum NativeLibraryLoader.Architecture extends Enum<NativeLibraryLoader.Architecture>
Possible architectures of native libraries.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINUX_32
LINUX_64
LINUX_ARM
OSX_32
OSX_64
OSX_PPC
UNKNOWN
WINDOWS_32
WINDOWS_64
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NativeLibraryLoader.Architecture
valueOf(String name)
Returns the enum constant of this type with the specified name.static NativeLibraryLoader.Architecture[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final NativeLibraryLoader.Architecture UNKNOWN
-
LINUX_32
public static final NativeLibraryLoader.Architecture LINUX_32
-
LINUX_64
public static final NativeLibraryLoader.Architecture LINUX_64
-
LINUX_ARM
public static final NativeLibraryLoader.Architecture LINUX_ARM
-
WINDOWS_32
public static final NativeLibraryLoader.Architecture WINDOWS_32
-
WINDOWS_64
public static final NativeLibraryLoader.Architecture WINDOWS_64
-
OSX_32
public static final NativeLibraryLoader.Architecture OSX_32
-
OSX_64
public static final NativeLibraryLoader.Architecture OSX_64
-
OSX_PPC
public static final NativeLibraryLoader.Architecture OSX_PPC
-
-
Method Detail
-
values
public static NativeLibraryLoader.Architecture[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NativeLibraryLoader.Architecture c : NativeLibraryLoader.Architecture.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NativeLibraryLoader.Architecture valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-