public static enum MemoryHazard.Type extends java.lang.Enum<MemoryHazard.Type>
| Enum Constant and Description |
|---|
ADDR_EQUAL
The conflict of the kind
Address1 == Address2. |
ADDR_NOT_EQUAL
The conflict of the kind
Address1 != Address2. |
INDEX_NOT_EQUAL
The conflict of the kind
Index1 != Index2. |
TAG_EQUAL
The conflict of the kind
Index1 == Index2 && Tag1 == Tag2. |
TAG_NOT_EQUAL
The conflict of the kind
Index1 == Index2 && Tag1 != Tag2. |
TAG_NOT_REPLACED
The conflict of the kind
Index1 == Index2 && Tag1 != Tag2 && Tag1 != Replaced2. |
TAG_REPLACED
The conflict of the kind
Index1 == Index2 && Tag1 != Tag2 && Tag1 == Replaced2. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the conflict.
|
boolean |
isEquality()
Checks whether the conflict is expressed as an equality.
|
static MemoryHazard.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemoryHazard.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryHazard.Type ADDR_NOT_EQUAL
Address1 != Address2.public static final MemoryHazard.Type ADDR_EQUAL
Address1 == Address2.public static final MemoryHazard.Type INDEX_NOT_EQUAL
Index1 != Index2.public static final MemoryHazard.Type TAG_NOT_EQUAL
Index1 == Index2 && Tag1 != Tag2.public static final MemoryHazard.Type TAG_NOT_REPLACED
Index1 == Index2 && Tag1 != Tag2 && Tag1 != Replaced2.public static final MemoryHazard.Type TAG_REPLACED
Index1 == Index2 && Tag1 != Tag2 && Tag1 == Replaced2.public static final MemoryHazard.Type TAG_EQUAL
Index1 == Index2 && Tag1 == Tag2.public static MemoryHazard.Type[] values()
for (MemoryHazard.Type c : MemoryHazard.Type.values()) System.out.println(c);
public static MemoryHazard.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public boolean isEquality()
true if the conflict is expressed as an equality; false otherwise.