Mercurial > hg > Members > shoshi > TreeCMSv1
comparison src/treecms/proto/util/Pair.java @ 36:9663c816e370
commit.
author | suika6039 |
---|---|
date | Mon, 27 Dec 2010 21:08:43 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
35:9d248304be96 | 36:9663c816e370 |
---|---|
1 package treecms.proto.util; | |
2 | |
3 public class Pair<L,R> | |
4 { | |
5 private L m_left; | |
6 private R m_right; | |
7 | |
8 public Pair(L _left,R _right) | |
9 { | |
10 m_left = _left; | |
11 m_right = _right; | |
12 } | |
13 | |
14 public L getLeft() | |
15 { | |
16 return m_left; | |
17 } | |
18 | |
19 public R getRight() | |
20 { | |
21 return m_right; | |
22 } | |
23 } |