java.lang.Object
net.automatalib.common.util.string.AbstractPrintable
net.automatalib.common.util.Triple<T1,T2,T3>
- Type Parameters:
T1- type of the first componentT2- type of the second componentT3- type of the third component
- All Implemented Interfaces:
Printable
Immutable triple class.
Note: this class should only be used for internal representations of tuples with value type semantics (e.g. equality, only if all components are equal).
Whenever a public interface returns an aggregation of individual objects, a separate class should be created/used that has meaningful identifiers for the individual components.
-
Method Summary
Methods inherited from class net.automatalib.common.util.string.AbstractPrintable
toString
-
Method Details
-
of
Creates a new triple from the given components.- Type Parameters:
T1- type of the first componentT2- type of the second componentT3- type of the third component- Parameters:
first- the first triple componentsecond- the second triple componentthird- the third triple component- Returns:
- the new triple object
-
getFirst
-
getSecond
-
getThird
-
print
Description copied from interface:PrintableOutputs the current object.- Parameters:
a- the appendable.- Throws:
IOException- if an error occurs during appending.
-
equals
-
hashCode
public int hashCode()
-