org.hecl
Interface RealThing

All Known Implementing Classes:
CodeThing, DoubleThing, FractionalThing, GroupThing, HashThing, IntegralThing, IntThing, ListThing, LongThing, NumberThing, ObjectThing, StringThing, SubstThing

public interface RealThing

The RealThing interface is the actual value contained within a Thing. It can be of several different types - integers, strings, lists, hashes, and so on.

Version:
1.0
Author:
David N. Welton

Method Summary
 RealThing deepcopy()
          The deepcopy method must copy a RealThing and any values it contains.
 java.lang.String getStringRep()
          The getStringRep method returns the string representation of a RealThing.
 java.lang.String thingclass()
           
 

Method Detail

thingclass

java.lang.String thingclass()

deepcopy

RealThing deepcopy()
                   throws HeclException
The deepcopy method must copy a RealThing and any values it contains.

Returns:
a RealThing value
Throws:
HeclException

getStringRep

java.lang.String getStringRep()
The getStringRep method returns the string representation of a RealThing.

Returns:
a String representation of the value