public class IntegerTaskEvent extends AbstractTaskEvent
| Constructor and Description |
|---|
IntegerTaskEvent()
Default constructor (should only be used for deserialization).
|
IntegerTaskEvent(int value)
Constructs a new integer task event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getInteger()
Returns the stored integer value.
|
int |
hashCode() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
public IntegerTaskEvent()
public IntegerTaskEvent(int value)
value - the integer value to be transported inside this integer task eventpublic int getInteger()
-1 if no value has been setpublic void write(DataOutputView out) throws IOException
IOExceptionpublic void read(DataInputView in) throws IOException
IOExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.