updated coding rules.
[utils] / support / general / src / main / java / org / wamblee / general / Pair.java
index 2d90387fb3bc8e642522e3f91e2daaea7c324c7a..bf5e589c3d382deb523f0f4f4b583b85efb6be03 100644 (file)
@@ -31,9 +31,9 @@ package org.wamblee.general;
  */
 public class Pair<T, U> {
 
-    private T _t;
+    private T t;
 
-    private U _u;
+    private U u;
 
     /**
      * Constructs the pair.
@@ -44,8 +44,8 @@ public class Pair<T, U> {
      *            Second object.
      */
     public Pair(T aT, U aU) {
-        _t = aT;
-        _u = aU;
+        t = aT;
+        u = aU;
     }
 
     /**
@@ -55,8 +55,8 @@ public class Pair<T, U> {
      *            Pair to copy.
      */
     public Pair(Pair<T, U> aPair) {
-        _t = aPair._t;
-        _u = aPair._u;
+        t = aPair.t;
+        u = aPair.u;
     }
 
     /**
@@ -65,7 +65,7 @@ public class Pair<T, U> {
      * @return First object.
      */
     public T getFirst() {
-        return _t;
+        return t;
     }
 
     /**
@@ -74,7 +74,7 @@ public class Pair<T, U> {
      * @return Second object.
      */
     public U getSecond() {
-        return _u;
+        return u;
     }
 
 }