public class WindowModel.CallbackObject extends java.lang.Object implements java.lang.Comparable<WindowModel.CallbackObject>
Constructor and Description |
---|
CallbackObject(long id,
long executionTime,
long frequency,
java.lang.Runnable callback,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WindowModel.CallbackObject o) |
boolean |
equals(java.lang.Object o) |
java.lang.Object[] |
getArgs()
Returns the Args for the object
|
java.lang.Runnable |
getCallback()
Returns the Callback for the object
|
long |
getExecutionTime()
Returns the ExecutionTime for the object
|
long |
getFrequency()
Returns the Frequency for the object
|
long |
getId()
Returns the Id for the object
|
int |
hashCode() |
public long getId()
public long getExecutionTime()
public long getFrequency()
@NotNull public java.lang.Runnable getCallback()
@NotNull public java.lang.Object[] getArgs()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(WindowModel.CallbackObject o)
compareTo
in interface java.lang.Comparable<WindowModel.CallbackObject>