From: Jérôme Benoit Date: Mon, 14 Jan 2019 11:06:12 +0000 (+0100) Subject: Define the Region object type. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6b0be432abf9ffbdae9e2183804fca170fa5e136;p=Persons_Comparator.git Define the Region object type. Signed-off-by: Jérôme Benoit --- diff --git a/src/Region.java b/src/Region.java index 43e8521..927cffa 100644 --- 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> { public Region() { }