|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.common.executor.IntegerExecutorHandle
public class IntegerExecutorHandle
This class implements the interface ExecutorHandle and is used to identify executions dispatched to intances of a native Executor class.
Constructor Summary | |
---|---|
IntegerExecutorHandle(int valueInt)
Constructs a new handle by using an int value. |
|
IntegerExecutorHandle(java.lang.Integer value)
Constructs a new handle based on an instance of Integer class. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object otherHandle)
|
boolean |
equals(java.lang.Object o)
|
int |
getIntValue()
This method provides a representation of this handle like an primitive int value. |
java.lang.Integer |
getValue()
This method provides the value of this handle. |
java.lang.String |
toString()
This method provides a String representation of this handle. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IntegerExecutorHandle(java.lang.Integer value)
value
- An instance of Integer class.public IntegerExecutorHandle(int valueInt)
valueInt
- A integer value to init the handle.Method Detail |
---|
public java.lang.Integer getValue()
public int getIntValue()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object otherHandle) throws java.lang.ClassCastException
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
Comparable.compareTo(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |