uk.ac.starlink.splat.util
Class Triple

java.lang.Object
  extended by uk.ac.starlink.splat.util.Triple

public class Triple
extends Object

Utility class for containing three associated strings.

The first string represents a unique key when used in a List.


Constructor Summary
Triple(String s1, String s2, String s3)
          Create an instance.
 
Method Summary
 String gets1()
          Retrieve the first string.
 String gets2()
          Retrieve the second string.
 String gets3()
          Retrieve the third string.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Triple

public Triple(String s1,
              String s2,
              String s3)
Create an instance.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

gets1

public String gets1()
Retrieve the first string.


gets2

public String gets2()
Retrieve the second string.


gets3

public String gets3()
Retrieve the third string.



Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.