source:
branches/localSpectral/src/clustering/MyPair.java
Last change on this file was 37, checked in by , 14 years ago | |
---|---|
File size: 298 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | |
2 | package clustering; | |
3 | ||
4 | public class MyPair<V,E> { | |
5 | ||
6 | V first; | |
7 | E second; | |
8 | ||
9 | public MyPair(V first, E second) { | |
10 | this.first = first; | |
11 | this.second = second; | |
12 | } | |
13 | ||
14 | public V getFirst() { | |
15 | return first; | |
16 | } | |
17 | ||
18 | public E getSecond() { | |
19 | return second; | |
20 | } | |
21 | ||
22 | ||
23 | ||
24 | } |
Note: See TracBrowser
for help on using the repository browser.