fr.ocelet.runtime.otypes
Class Otext

Package class diagram package Otext
java.lang.Object
  extended by fr.ocelet.runtime.otypes.Otext
All Implemented Interfaces:
Otype

public class Otext
extends java.lang.Object
implements Otype


Constructor Summary
Otext(java.lang.Object o)
           
 
Method Summary
 int compareTo(Otext text)
          Compares two Otext lexicographically.
 Otext concat(Otext text)
          Concatenates the specified string to the end of this Otext
 java.lang.String toString()
          Overrides the Object.toString() method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Otext

public Otext(java.lang.Object o)
Method Detail

concat

public Otext concat(Otext text)
Concatenates the specified string to the end of this Otext

Parameters:
text -
Returns:
The concatenated Otext : this Otext's characters followed by the Otext argument's characters.

compareTo

public int compareTo(Otext text)
Compares two Otext lexicographically.

Parameters:
text -
Returns:
the value 0 if the argument Otext is equal to this Otext; a value less than 0 if this Otext is lexicographically less than the Otext argument; and a value greater than 0 if this Otext is lexicographically greater than the Otext argument.

toString

public java.lang.String toString()
Overrides the Object.toString() method

Overrides:
toString in class java.lang.Object
Returns:
A String representation of this OText