org.aitools.programd.util
Class StringTriple

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

public class StringTriple
extends java.lang.Object

Contains three Strings.

Since:
4.1.5
Author:
Noel Bush

Field Summary
private  java.lang.String first
           
private  java.lang.String second
           
private  java.lang.String third
           
 
Constructor Summary
StringTriple(java.lang.String firstString, java.lang.String secondString, java.lang.String thirdString)
          Constructs a StringTriple from the given three strings.
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.String getFirst()
           
 java.lang.String getSecond()
           
 java.lang.String getThird()
           
 void setFirst(java.lang.String text)
          Sets the text of the first string.
 void setSecond(java.lang.String text)
          Sets the text of the second string.
 void setThird(java.lang.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
 

Field Detail

first

private java.lang.String first

second

private java.lang.String second

third

private java.lang.String third
Constructor Detail

StringTriple

public StringTriple(java.lang.String firstString,
                    java.lang.String secondString,
                    java.lang.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 java.lang.String getFirst()
Returns:
the first string

getSecond

public java.lang.String getSecond()
Returns:
the second string

getThird

public java.lang.String getThird()
Returns:
the third string

setFirst

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

Parameters:
text - the text to set

setSecond

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

Parameters:
text - the text to set

setThird

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

Parameters:
text - the text to set

equals

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