de.ls5.jlearn.interfaces
Interface Symbol

All Superinterfaces:
Comparable<Object>, Serializable
All Known Subinterfaces:
SymbolComplex
All Known Implementing Classes:
SymbolComplexImpl, SymbolImpl

public interface Symbol
extends Serializable, Comparable<Object>

Represents a symbol, which, e.g., can be used as input for the System Under Test (SUT) or which is output of the SUT.

Author:
merten

Method Summary
 Object getUserObject()
          Every Symbol should carry an arbitrary Object, e.g.
 void setUserObject(Object userObject)
          Set the user object of this Symbol.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getUserObject

Object getUserObject()
Every Symbol should carry an arbitrary Object, e.g. a representative String. This is the usual setter-method.

Returns:
user object of this Symbol

setUserObject

void setUserObject(Object userObject)
Set the user object of this Symbol.

Parameters:
userObject - Object this Symbol should refer to as its user object.


Copyright © 2011. All Rights Reserved.