|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.common.classes.Arch
public class Arch
| Field Summary | |
|---|---|
private static String |
_AMD64
|
private static String |
_INTEL32
|
private static String |
_INTEL64
|
private static String |
_SPARCV7
|
private static String |
_SPARCV9
|
private static HashMap |
_table_
|
private String |
_value_
|
static Arch |
AMD64
|
static String |
err
|
static Arch |
INTEL32
|
static Arch |
INTEL64
|
static Arch |
SPARCV7
|
static Arch |
SPARCV9
|
| Constructor Summary | |
|---|---|
protected |
Arch(String value)
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares if a given Arch object is equal to this. |
static Arch |
fromString(String value)
Creates a new Arch object given a arch string. |
static Arch |
fromValue(String value)
Creates a new Arch Object givan a arch string. |
String |
getValue()
Returns the value of the architecture as string. |
int |
hashCode()
|
String |
toString()
Returns the string value of the architecture. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String _value_
private static HashMap _table_
private static final String _INTEL32
private static final String _INTEL64
private static final String _SPARCV7
private static final String _SPARCV9
private static final String _AMD64
public static final Arch INTEL32
public static final Arch INTEL64
public static final Arch SPARCV7
public static final Arch SPARCV9
public static final Arch AMD64
public static final String err
| Constructor Detail |
|---|
protected Arch(String value)
| Method Detail |
|---|
public String getValue()
public static Arch fromValue(String value)
throws IllegalStateException
value - String
IllegalStateException - Throws Exception if the architecure is not defined in this class.
public static Arch fromString(String value)
throws IllegalStateException
value - String
IllegalStateException - Throws Exception if the architecure is not defined in this class.public boolean equals(Object obj)
equals in class Objectobj - Object
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||