diff options
author | Jagw <jagw@jagw.co.uk> | 2010-11-01 12:06:33 +0000 |
---|---|---|
committer | Jagw <jagw@jagw.co.uk> | 2010-11-01 12:06:33 +0000 |
commit | cb5604b944e0f3054e581b40ac15bf66bd502c5a (patch) | |
tree | 519a22fa0bff95a37540728600e70a6ef2ff0198 | |
parent | 51f2a446d7c18791145638bb6c10cd47c0d17016 (diff) |
Bratchbot friendly formatting - only prints first two results, single line.
-rw-r--r-- | blasearch.class | bin | 1938 -> 2073 bytes | |||
-rw-r--r-- | blasearch.java | 5 |
2 files changed, 3 insertions, 2 deletions
diff --git a/blasearch.class b/blasearch.class Binary files differindex 22431b8..04e868e 100644 --- a/blasearch.class +++ b/blasearch.class diff --git a/blasearch.java b/blasearch.java index 25ac68e..8137fd0 100644 --- a/blasearch.java +++ b/blasearch.java @@ -72,8 +72,9 @@ public class blasearch { } // Print results if(results != null){ - for(int i=0; i<results.size(); i++){ - System.out.println(results.get(i)); + for(int i=0; i<2; i++){ + int count = i + 1; + System.out.print("Result " + count + ": " + results.get(i) + " | "); } } } |