org.scijava.nativelib
Enum NativeLibraryUtil.Architecture

java.lang.Object
  extended by java.lang.Enum<NativeLibraryUtil.Architecture>
      extended by org.scijava.nativelib.NativeLibraryUtil.Architecture
All Implemented Interfaces:
Serializable, Comparable<NativeLibraryUtil.Architecture>
Enclosing class:
NativeLibraryUtil

public static enum NativeLibraryUtil.Architecture
extends Enum<NativeLibraryUtil.Architecture>


Enum Constant Summary
LINUX_32
           
LINUX_64
           
OSX_32
           
OSX_64
           
OSX_PPC
           
UNKNOWN
           
WINDOWS_32
           
WINDOWS_64
           
 
Method Summary
static NativeLibraryUtil.Architecture valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NativeLibraryUtil.Architecture[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final NativeLibraryUtil.Architecture UNKNOWN

LINUX_32

public static final NativeLibraryUtil.Architecture LINUX_32

LINUX_64

public static final NativeLibraryUtil.Architecture LINUX_64

WINDOWS_32

public static final NativeLibraryUtil.Architecture WINDOWS_32

WINDOWS_64

public static final NativeLibraryUtil.Architecture WINDOWS_64

OSX_32

public static final NativeLibraryUtil.Architecture OSX_32

OSX_64

public static final NativeLibraryUtil.Architecture OSX_64

OSX_PPC

public static final NativeLibraryUtil.Architecture OSX_PPC
Method Detail

values

public static NativeLibraryUtil.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 (NativeLibraryUtil.Architecture c : NativeLibraryUtil.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 NativeLibraryUtil.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 name
NullPointerException - if the argument is null


Copyright © 2010–2014 SciJava. All rights reserved.