Clover Coverage Report - FEST Swing 1.2
Coverage timestamp: Tue Jun 1 2010 15:19:25 PDT
../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
2   44   1   2
0   9   0.5   1
1     1  
1    
 
  Pair       Line # 27 2 0% 1 0 100% 1.0
 
No Tests
 
1    /*
2    * Created on Jul 29, 2008
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5    * in compliance with the License. You may obtain a copy of the License at
6    *
7    * http://www.apache.org/licenses/LICENSE-2.0
8    *
9    * Unless required by applicable law or agreed to in writing, software distributed under the License
10    * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11    * or implied. See the License for the specific language governing permissions and limitations under
12    * the License.
13    *
14    * Copyright @2008-2010 the original author or authors.
15    */
16    package org.fest.swing.util;
17   
18   
19    /**
20    * Understands a tuple of size 2.
21    * @param <I> the generic type of the 1st. value in this tuple.
22    * @param <II> the generic type of the 2nd. value in this tuple.
23    *
24    * @author Yvonne Wang
25    * @author Alex Ruiz
26    */
 
27    public class Pair<I, II> {
28   
29    /** The first value in this tuple. */
30    public final I i;
31   
32    /** The second value in this tuple. */
33    public final II ii;
34   
35    /**
36    * Creates a new </code>{@link Pair}</code>.
37    * @param i the 1st. value in this tuple.
38    * @param ii the 2nd. value in this tuple.
39    */
 
40  3019 toggle public Pair(I i, II ii) {
41  3019 this.i = i;
42  3019 this.ii = ii;
43    }
44    }