Permalink
Browse files

Static imports organizer file. Organized imports in Euler

  • Loading branch information...
1 parent 4f1d2c9 commit 5e30724a26411835bb2ac895b3bc87938bd58036 daniel committed Jan 4, 2009
Showing with 9 additions and 1 deletion.
  1. +3 −1 com.agical.jambda.demo/src/test/java/com/agical/jambda/demo/Euler.java
  2. +6 −0 jambda.importorder
@@ -7,6 +7,8 @@
import com.agical.jambda.Tuples.*;
import static com.agical.jambda.Sequence.*;
+import static com.agical.jambda.Tuples.*;
+import static com.agical.jambda.Tuples.Tuple2.*;
import static com.agical.jambda.Numeric.Integers.*;
import static org.junit.Assert.assertEquals;
@@ -73,7 +75,7 @@ public void eulerProblem2() throws Exception {
return Tuples.duo(in.getSecond(), in.getFirst() + in.getSecond());
}
},
- Tuples.duo(0, 1)),
+ duo(0, 1)),
Tuple2.<Integer, Integer>firstGetter());
Integer sum =
View
@@ -0,0 +1,6 @@
+#Organize Import Order
+#Sun Jan 04 12:39:16 CET 2009
+3=com
+2=org
+1=javax
+0=java

0 comments on commit 5e30724

Please sign in to comment.