step
Class StepString

java.lang.Object
  |
  +--step.StepString
All Implemented Interfaces:
Serializable, StepObject

public class StepString
extends Object
implements StepObject

Implementation of the built-in STEP string type.

See Also:
Serialized Form

Field Summary
static FieldDef LENGTH_FIELD
           
static Type TYPE
          The STEP type for string objects.
 
Constructor Summary
StepString(String str)
          Create a new STEP string.
 
Method Summary
 boolean equals(Object o)
          Compare two string objects for equality.
 int hashCode()
          Get the hash-code for this object.
 String toString()
          Get the string value of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final Type TYPE
The STEP type for string objects.


LENGTH_FIELD

public static final FieldDef LENGTH_FIELD
Constructor Detail

StepString

public StepString(String str)
Create a new STEP string.

Method Detail

equals

public boolean equals(Object o)
Compare two string objects for equality.

Specified by:
equals in interface StepObject
Overrides:
equals in class Object

hashCode

public int hashCode()
Get the hash-code for this object.

Specified by:
hashCode in interface StepObject
Overrides:
hashCode in class Object

toString

public String toString()
Get the string value of this object.

Overrides:
toString in class Object