org.aitools.programd.util
Class StringTriple

java.lang.Object
  extended by org.aitools.programd.util.StringTriple

public class StringTriple
extends Object

Contains three Strings.

Since:
4.1.5
Author:
Noel Bush

Constructor Summary
StringTriple(String firstString, String secondString, String thirdString)
          Constructs a StringTriple from the given three strings.
 
Method Summary
 boolean equals(Object object)
           
 String getFirst()
           
 String getSecond()
           
 String getThird()
           
 void setFirst(String text)
          Sets the text of the first string.
 void setSecond(String text)
          Sets the text of the second string.
 void setThird(String text)
          Sets the text of the third string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringTriple

public StringTriple(String firstString,
                    String secondString,
                    String thirdString)
Constructs a StringTriple from the given three strings.

Parameters:
firstString - the first string
secondString - the second string
thirdString - the third string
Method Detail

getFirst

public String getFirst()
Returns:
the first string

getSecond

public String getSecond()
Returns:
the second string

getThird

public String getThird()
Returns:
the third string

setFirst

public void setFirst(String text)
Sets the text of the first string.

Parameters:
text - the text to set

setSecond

public void setSecond(String text)
Sets the text of the second string.

Parameters:
text - the text to set

setThird

public void setThird(String text)
Sets the text of the third string.

Parameters:
text - the text to set

equals

public boolean equals(Object object)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)