Package adams.flow.core
Class NullToken
- java.lang.Object
-
- adams.flow.core.Token
-
- adams.flow.core.NullToken
-
- All Implemented Interfaces:
CloneHandler<Token>
,Serializable
public class NullToken extends Token
A dummy token without any payload.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setPayload(Object value)
Ignores any payload.String
toString()
Returns a string representation of the payload.-
Methods inherited from class adams.flow.core.Token
getClone, getPayload, getPayload, hashCode, hasPayload, isArray, isNull, unhandledData
-
-
-
-
Method Detail
-
setPayload
public void setPayload(Object value)
Ignores any payload.- Overrides:
setPayload
in classToken
- Parameters:
value
- ignored
-
-