View Javadoc

1   package cz.cuni.amis.utils;
2   
3   public class Tuple2<FIRST, SECOND> {
4   	
5   	private FIRST first;
6   	private SECOND second;
7   
8   	public Tuple2(FIRST first, SECOND second) {
9   		this.first = first;
10  		this.second = second;
11  	}
12  
13  	public FIRST getFirst() {
14  		return first;
15  	}
16  
17  	public void setFirst(FIRST first) {
18  		this.first = first;
19  	}
20  
21  	public SECOND getSecond() {
22  		return second;
23  	}
24  
25  	public void setSecond(SECOND second) {
26  		this.second = second;
27  	}
28  
29  }