|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.alert.Culprit
public class Culprit
This class represents an individual culprit in a mishap. A culprit has a type and associated value, similar to a key-value pair in a map.
| Constructor Summary | |
|---|---|
Culprit(java.lang.String a,
java.lang.Object b)
Creates a new culprit, with the specified type and value. |
|
| Method Summary | |
|---|---|
java.lang.String |
getType()
Returns this culprits type. |
java.lang.Object |
getValue()
Returns this culprits value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Culprit(java.lang.String a,
java.lang.Object b)
a - the culprit typeb - the culprit value| Method Detail |
|---|
public java.lang.String getType()
public java.lang.Object getValue()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||