repositories
/
Persons_Comparator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae9566
)
Define the Region object type.
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Mon, 14 Jan 2019 11:06:12 +0000
(12:06 +0100)
committer
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Mon, 14 Jan 2019 11:06:12 +0000
(12:06 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/Region.java
patch
|
blob
|
blame
|
history
diff --git
a/src/Region.java
b/src/Region.java
index 43e852132dc1ff7487239dbd716c28d756cd4465..927cffa53a15daa6d1ff67d68f54ff132e869cff 100644
(file)
--- a/
src/Region.java
+++ b/
src/Region.java
@@
-4,10
+4,10
@@
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
+import java.util.ArrayList;
+import java.util.TreeMap;
-public class Region {
- private String continent;
- private String pays;
+public class Region extends TreeMap<String, ArrayList<Country>> {
public Region() {
}