| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(Signal other) |
boolean |
equals(java.lang.Object obj) |
void |
expect(Signal signal)
Check if the given
Signal is the same as this instance. |
java.lang.Throwable |
fillInStackTrace() |
int |
hashCode() |
int |
id()
Returns the unique number assigned to this
Constant. |
java.lang.Throwable |
initCause(java.lang.Throwable cause) |
java.lang.String |
name()
Returns the name of this
Constant. |
java.lang.String |
toString() |
static Signal |
valueOf(java.lang.Class<?> firstNameComponent,
java.lang.String secondNameComponent)
|
static Signal |
valueOf(java.lang.String name)
Returns the
Signal of the specified name. |
public static Signal valueOf(java.lang.String name)
Signal of the specified name.public static Signal valueOf(java.lang.Class<?> firstNameComponent, java.lang.String secondNameComponent)
public void expect(Signal signal)
Signal is the same as this instance. If not an IllegalStateException will
be thrown.public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause 在类中 java.lang.Throwablepublic java.lang.Throwable fillInStackTrace()
fillInStackTrace 在类中 java.lang.Throwablepublic boolean equals(java.lang.Object obj)
equals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Throwable