src/org/sonews/util/Pair.java
changeset 48 b78e77619152
parent 35 ed84c8bdd87b
     1.1 --- a/src/org/sonews/util/Pair.java	Sun Aug 29 17:28:58 2010 +0200
     1.2 +++ b/src/org/sonews/util/Pair.java	Sun Sep 11 15:05:04 2011 +0200
     1.3 @@ -23,26 +23,25 @@
     1.4   * @author Christian Lins
     1.5   * @since sonews/0.5.0
     1.6   */
     1.7 -public class Pair<T1, T2> 
     1.8 +public class Pair<T1, T2>
     1.9  {
    1.10 - 
    1.11 -  private T1 a;
    1.12 -  private T2 b;
    1.13 -  
    1.14 -  public Pair(T1 a, T2 b)
    1.15 -  {
    1.16 -    this.a = a;
    1.17 -    this.b = b;
    1.18 -  }
    1.19  
    1.20 -  public T1 getA()
    1.21 -  {
    1.22 -    return a;
    1.23 -  }
    1.24 +	private T1 a;
    1.25 +	private T2 b;
    1.26  
    1.27 -  public T2 getB()
    1.28 -  {
    1.29 -    return b;
    1.30 -  } 
    1.31 - 
    1.32 +	public Pair(T1 a, T2 b)
    1.33 +	{
    1.34 +		this.a = a;
    1.35 +		this.b = b;
    1.36 +	}
    1.37 +
    1.38 +	public T1 getA()
    1.39 +	{
    1.40 +		return a;
    1.41 +	}
    1.42 +
    1.43 +	public T2 getB()
    1.44 +	{
    1.45 +		return b;
    1.46 +	}
    1.47  }