nl.uu.cs.ape.sat.models.Pair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of APE Show documentation
Show all versions of APE Show documentation
APE is a command line tool and an API for the automated exploration of possible computational pipelines (workflows) from large collections of computational tools.
package nl.uu.cs.ape.sat.models;
/**
* The {@code Pair} class represents pairs of objects.
* E.g.: {@code }.
*
* @param the type parameter
* @author Vedran Kasalica
*/
public class Pair {
private T first, second;
/**
* Instantiates a new Pair.
*
* @param first the first
* @param second the second
*/
public Pair(T first, T second) {
this.first = first;
this.second = second;
}
/**
* Gets first.
*
* @return the first
*/
public T getFirst() {
return first;
}
/**
* Gets second.
*
* @return the second
*/
public T getSecond() {
return second;
}
}