summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagw <jagw@jagw.co.uk>2010-11-01 12:06:33 +0000
committerJagw <jagw@jagw.co.uk>2010-11-01 12:06:33 +0000
commitcb5604b944e0f3054e581b40ac15bf66bd502c5a (patch)
tree519a22fa0bff95a37540728600e70a6ef2ff0198
parent51f2a446d7c18791145638bb6c10cd47c0d17016 (diff)
Bratchbot friendly formatting - only prints first two results, single line.
-rw-r--r--blasearch.classbin1938 -> 2073 bytes
-rw-r--r--blasearch.java5
2 files changed, 3 insertions, 2 deletions
diff --git a/blasearch.class b/blasearch.class
index 22431b8..04e868e 100644
--- a/blasearch.class
+++ b/blasearch.class
Binary files differ
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) + " | ");
}
}
}