updates for 0.9.4
[debian/openrocket] / src / net / sf / openrocket / util / Pair.java
1 package net.sf.openrocket.util;
2
3 /**
4  * Storage for a pair of objects.
5  * 
6  * @author Sampo Niskanen <sampo.niskanen@iki.fi>
7  * @param <U>   the first object type.
8  * @param <V>   the second object type.
9  */
10 public class Pair<U,V> {
11
12         private final U u;
13         private final V v;
14         
15         
16         public Pair(U u, V v) {
17                 this.u = u;
18                 this.v = v;
19         }
20         
21         public U getU() {
22                 return u;
23         }
24         
25         public V getV() {
26                 return v;
27         }
28         
29 }