public final class PresentData extends java.lang.Object implements FutureData
FutureData
that just returns whatever is passed into the constructor.Constructor and Description |
---|
PresentData(byte[] data)
The data sent to this constructor will simply be returned by
getData() . |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns the data sent into the constructor
PresentData(byte[]) |
public PresentData(byte[] data)
getData()
.public byte[] getData()
PresentData(byte[])
getData
in interface FutureData