diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..e7e9d11
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,2 @@
+# Default ignored files
+/workspace.xml
diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 0000000..0938c55
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+coding-competition
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..637e8db
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_2.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_2.xml
new file mode 100644
index 0000000..6447563
--- /dev/null
+++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_2.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_2.xml
new file mode 100644
index 0000000..4923956
--- /dev/null
+++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_2.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_2.xml
new file mode 100644
index 0000000..bb59715
--- /dev/null
+++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_csv_2_11_2.xml b/.idea/libraries/Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_csv_2_11_2.xml
new file mode 100644
index 0000000..c5892a6
--- /dev/null
+++ b/.idea/libraries/Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_csv_2_11_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__junit_junit_4_12.xml b/.idea/libraries/Maven__junit_junit_4_12.xml
new file mode 100644
index 0000000..d411041
--- /dev/null
+++ b/.idea/libraries/Maven__junit_junit_4_12.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..f58bbc1
--- /dev/null
+++ b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..d1eecca
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..ea60d1f
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/coding-competition.iml b/coding-competition.iml
new file mode 100644
index 0000000..de540df
--- /dev/null
+++ b/coding-competition.iml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 21d55bf..c35e2ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,19 @@
4.0.0
coding-competition
1.0.0-SNAPSHOT
- jar
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ 8
+ 8
+
+
+
+
+ jar
sf.codingcompetition2020
coding-competition
diff --git a/src/main/java/sf/codingcompetition2020/CodingCompCsvUtil.java b/src/main/java/sf/codingcompetition2020/CodingCompCsvUtil.java
index 58267da..c76d319 100644
--- a/src/main/java/sf/codingcompetition2020/CodingCompCsvUtil.java
+++ b/src/main/java/sf/codingcompetition2020/CodingCompCsvUtil.java
@@ -1,11 +1,8 @@
package sf.codingcompetition2020;
-import java.io.FileReader;
-import java.io.Reader;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+import java.io.*;
+import java.nio.file.Files;
+import java.util.*;
import java.util.Map.Entry;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;
@@ -16,21 +13,60 @@
import com.fasterxml.jackson.dataformat.csv.CsvMapper;
import com.fasterxml.jackson.dataformat.csv.CsvSchema;
-import sf.codingcompetition2020.structures.Agent;
-import sf.codingcompetition2020.structures.Claim;
-import sf.codingcompetition2020.structures.Customer;
-import sf.codingcompetition2020.structures.Vendor;
+import sf.codingcompetition2020.structures.*;
public class CodingCompCsvUtil {
-
- /* #1
+
+ /* #1
* readCsvFile() -- Read in a CSV File and return a list of entries in that file.
* @param filePath -- Path to file being read in.
* @param classType -- Class of entries being read in.
* @return -- List of entries being returned.
*/
public List readCsvFile(String filePath, Class classType) {
-
+ String[] reader = new String[0];
+ try {
+ reader = Files.readAllLines(new File(filePath).toPath()).toArray(new String[0]);
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ LinkedList ret = new LinkedList<>();
+ if(filePath.toUpperCase().contains("AGENT")) {
+ for(int i = 1; i < reader.length; i++) {
+ String[] insert = reader[i].split(",");
+ ret.add((T) new Agent(Integer.parseInt(insert[0]), insert[1], insert[2], insert[3], insert[4]));
+ }
+ }
+ else if(filePath.toUpperCase().contains("CLAIM")) {
+ for(int i = 1; i < reader.length; i++) {
+ String[] insert = reader[i].split(",");
+ ret.add((T) new Claim(Integer.parseInt(insert[0]), Integer.parseInt(insert[1]), Boolean.parseBoolean(insert[2]), Integer.parseInt(insert[3])));
+ }
+ }
+ else if(filePath.toUpperCase().contains("CUSTOMER")) {
+ for(int i = 1; i < reader.length; i++) {
+ String[] insert = reader[i].split(",");
+ Customer add = new Customer();
+ add.setCustomerId(Integer.parseInt(insert[0]));
+ add.setFirstName(insert[1]);
+ add.setLastName(insert[2]);
+ add.setAge(Integer.parseInt(insert[3]));
+ add.setArea(insert[4]);
+ add.setAgentId(Integer.parseInt(insert[5]));
+ add.setAgentRating(Short.parseShort(insert[6]));
+ add.setPrimaryLanguage(insert[7]);
+ /*LinkedList put = new LinkedList<>();
+ String[] dependents = reader[i].split(", ");*/
+ ret.add((T) add);
+ }
+ }
+ else if(filePath.toUpperCase().contains("VENDOR")) {
+ for(int i = 1; i < reader.length; i++) {
+ String[] insert = reader[i].split(",");
+ ret.add((T) new Vendor(Integer.parseInt(insert[0]), insert[1], Integer.parseInt(insert[2]), Boolean.parseBoolean(insert[3])));
+ }
+ }
+ return ret;
}
@@ -40,8 +76,15 @@ public List readCsvFile(String filePath, Class classType) {
* @param area -- The area from which the agents should be counted.
* @return -- The number of agents in a given area
*/
- public int getAgentCountInArea(String filePath,String area) {
-
+ public int getAgentCountInArea(String filePath, String area) {
+ LinkedList counter = (LinkedList) readCsvFile(filePath, Agent.class);
+ int ret = 0;
+ for(int i = 0; i < counter.size(); i++) {
+ if(counter.get(i).getArea().equals(area)) {
+ ret++;
+ }
+ }
+ return ret;
}
@@ -53,7 +96,14 @@ public int getAgentCountInArea(String filePath,String area) {
* @return -- The number of agents in a given area
*/
public List getAgentsInAreaThatSpeakLanguage(String filePath, String area, String language) {
-
+ LinkedList matcher = (LinkedList) readCsvFile(filePath, Agent.class);
+ LinkedList ret = new LinkedList<>();
+ for(int i = 0; i < matcher.size(); i++) {
+ if(matcher.get(i).getArea().equals(area) && matcher.get(i).getLanguage().equals(language)) {
+ ret.add(matcher.get(i));
+ }
+ }
+ return ret;
}
@@ -66,7 +116,20 @@ public List getAgentsInAreaThatSpeakLanguage(String filePath, String area
* @return -- The number of customers that use a certain agent in a given area.
*/
public short countCustomersFromAreaThatUseAgent(Map csvFilePaths, String customerArea, String agentFirstName, String agentLastName) {
-
+ LinkedList agents = (LinkedList) readCsvFile(csvFilePaths.get("agentList"), Agent.class);
+ LinkedList customers = (LinkedList) readCsvFile(csvFilePaths.get("customerList"), Customer.class);
+ short ret = 0;
+ for(int i = 0; i < customers.size(); i++) {
+ if(customers.get(i).getArea().equals(customerArea)) {
+ for(int j = 0; j < agents.size(); j++) {
+ Agent comparator = agents.get(j);
+ if(comparator.getFirstName().equals(agentFirstName) && comparator.getLastName().equals(agentLastName) && comparator.getAgentId() == customers.get(i).getAgentId()) {
+ ret++;
+ }
+ }
+ }
+ }
+ return ret;
}
@@ -77,7 +140,8 @@ public short countCustomersFromAreaThatUseAgent(Map csvFilePaths,
* @return -- List of customers retained for a given number of years, in ascending order of policy cost.
*/
public List getCustomersRetainedForYearsByPlcyCostAsc(String customerFilePath, short yearsOfService) {
-
+ LinkedList match = (LinkedList) readCsvFile(customerFilePath, Customer.class);
+ return null;
}
@@ -88,7 +152,15 @@ public List getCustomersRetainedForYearsByPlcyCostAsc(String customerF
* @return -- List of customers who’ve made an inquiry for a policy but have not signed up.
*/
public List getLeadsForInsurance(String filePath) {
-
+ LinkedList match = (LinkedList) readCsvFile(filePath, Customer.class);
+ LinkedList ret = new LinkedList<>();
+ for(int i = 0; i < match.size(); i++) {
+ Customer temp = match.get(i);
+ if(!temp.isAutoPolicy() && !temp.isHomePolicy() && !temp.isRentersPolicy()) {
+ ret.add(temp);
+ }
+ }
+ return ret;
}
@@ -103,7 +175,7 @@ b. Whether that vendor is in scope of the insurance (if inScope == false, return
* @return -- List of vendors within a given area, filtered by scope and vendor rating.
*/
public List getVendorsWithGivenRatingThatAreInScope(String filePath, String area, boolean inScope, int vendorRating) {
-
+ return null;
}
@@ -117,7 +189,7 @@ public List getVendorsWithGivenRatingThatAreInScope(String filePath, Str
* @return -- List of customers filtered by age, number of vehicles insured and the number of dependents.
*/
public List getUndisclosedDrivers(String filePath, int vehiclesInsured, int dependents) {
-
+ return null;
}
@@ -130,7 +202,7 @@ public List getUndisclosedDrivers(String filePath, int vehiclesInsured
* @return -- Agent ID of agent with the given rank.
*/
public int getAgentIdGivenRank(String filePath, int agentRank) {
-
+ return 0;
}
@@ -141,7 +213,7 @@ public int getAgentIdGivenRank(String filePath, int agentRank) {
* @return -- List of customers who’ve filed a claim within the last .
*/
public List getCustomersWithClaims(Map csvFilePaths, short monthsOpen) {
-
+ return null;
}
}
diff --git a/src/main/java/sf/codingcompetition2020/structures/Agent.java b/src/main/java/sf/codingcompetition2020/structures/Agent.java
index e2e6f93..b7a719c 100644
--- a/src/main/java/sf/codingcompetition2020/structures/Agent.java
+++ b/src/main/java/sf/codingcompetition2020/structures/Agent.java
@@ -7,5 +7,52 @@ public class Agent {
private String language;
private String firstName;
private String lastName;
-
+
+ public Agent(int agentId, String area, String language, String firstName, String lastName) {
+ this.agentId = agentId;
+ this.area = area;
+ this.language = language;
+ this.firstName = firstName;
+ this.lastName = lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setArea(String area) {
+ this.area = area;
+ }
+
+ public String getArea() {
+ return area;
+ }
+
+ public void setAgentId(int agentId) {
+ this.agentId = agentId;
+ }
+
+ public int getAgentId() {
+ return agentId;
+ }
}
diff --git a/src/main/java/sf/codingcompetition2020/structures/Claim.java b/src/main/java/sf/codingcompetition2020/structures/Claim.java
index 581140a..2cafd9a 100644
--- a/src/main/java/sf/codingcompetition2020/structures/Claim.java
+++ b/src/main/java/sf/codingcompetition2020/structures/Claim.java
@@ -5,5 +5,43 @@ public class Claim {
private int customerId;
private boolean closed;
private int monthsOpen;
-
+
+ public Claim(int claimId, int customerId, boolean closed, int monthsOpen) {
+ this.claimId = claimId;
+ this.customerId = customerId;
+ this.closed = closed;
+ this.monthsOpen = monthsOpen;
+ }
+
+ public int getMonthsOpen() {
+ return monthsOpen;
+ }
+
+ public void setMonthsOpen(int monthsOpen) {
+ this.monthsOpen = monthsOpen;
+ }
+
+ public boolean isClosed() {
+ return closed;
+ }
+
+ public void setClosed(boolean closed) {
+ this.closed = closed;
+ }
+
+ public int getCustomerId() {
+ return customerId;
+ }
+
+ public void setCustomerId(int customerId) {
+ this.customerId = customerId;
+ }
+
+ public int getClaimId() {
+ return claimId;
+ }
+
+ public void setClaimId(int claimId) {
+ this.claimId = claimId;
+ }
}
diff --git a/src/main/java/sf/codingcompetition2020/structures/Customer.java b/src/main/java/sf/codingcompetition2020/structures/Customer.java
index f151906..848be76 100644
--- a/src/main/java/sf/codingcompetition2020/structures/Customer.java
+++ b/src/main/java/sf/codingcompetition2020/structures/Customer.java
@@ -24,4 +24,145 @@ public class Customer {
private short yearsOfService;
private Integer vehiclesInsured;
+ public Customer(int customerId, String firstName, String lastName, int age, String area, int agentId, short agentRating, String primaryLanguage, List dependents, boolean homePolicy, boolean autoPolicy, boolean rentersPolicy, String totalMonthlyPremium, short yearsOfService, Integer vehiclesInsured) {
+ this.customerId = customerId;
+ this.firstName = firstName;
+ this.lastName = lastName;
+ this.age = age;
+ this.area = area;
+ this.agentId = agentId;
+ this.agentRating = agentRating;
+ this.primaryLanguage = primaryLanguage;
+ this.dependents = dependents;
+ this.homePolicy = homePolicy;
+ this.autoPolicy = autoPolicy;
+ this.rentersPolicy = rentersPolicy;
+ this.totalMonthlyPremium = totalMonthlyPremium;
+ this.yearsOfService = yearsOfService;
+ this.vehiclesInsured = vehiclesInsured;
+ }
+
+ public Customer() {
+
+ }
+
+ public int getCustomerId() {
+ return customerId;
+ }
+
+ public void setCustomerId(int customerId) {
+ this.customerId = customerId;
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public String getArea() {
+ return area;
+ }
+
+ public void setArea(String area) {
+ this.area = area;
+ }
+
+ public int getAgentId() {
+ return agentId;
+ }
+
+ public void setAgentId(int agentId) {
+ this.agentId = agentId;
+ }
+
+ public short getAgentRating() {
+ return agentRating;
+ }
+
+ public void setAgentRating(short agentRating) {
+ this.agentRating = agentRating;
+ }
+
+ public String getPrimaryLanguage() {
+ return primaryLanguage;
+ }
+
+ public void setPrimaryLanguage(String primaryLanguage) {
+ this.primaryLanguage = primaryLanguage;
+ }
+
+ public List getDependents() {
+ return dependents;
+ }
+
+ public void setDependents(List dependents) {
+ this.dependents = dependents;
+ }
+
+ public boolean isHomePolicy() {
+ return homePolicy;
+ }
+
+ public void setHomePolicy(boolean homePolicy) {
+ this.homePolicy = homePolicy;
+ }
+
+ public boolean isAutoPolicy() {
+ return autoPolicy;
+ }
+
+ public void setAutoPolicy(boolean autoPolicy) {
+ this.autoPolicy = autoPolicy;
+ }
+
+ public boolean isRentersPolicy() {
+ return rentersPolicy;
+ }
+
+ public void setRentersPolicy(boolean rentersPolicy) {
+ this.rentersPolicy = rentersPolicy;
+ }
+
+ public String getTotalMonthlyPremium() {
+ return totalMonthlyPremium;
+ }
+
+ public void setTotalMonthlyPremium(String totalMonthlyPremium) {
+ this.totalMonthlyPremium = totalMonthlyPremium;
+ }
+
+ public short getYearsOfService() {
+ return yearsOfService;
+ }
+
+ public void setYearsOfService(short yearsOfService) {
+ this.yearsOfService = yearsOfService;
+ }
+
+ public Integer getVehiclesInsured() {
+ return vehiclesInsured;
+ }
+
+ public void setVehiclesInsured(Integer vehiclesInsured) {
+ this.vehiclesInsured = vehiclesInsured;
+ }
}
diff --git a/src/main/java/sf/codingcompetition2020/structures/Dependent.java b/src/main/java/sf/codingcompetition2020/structures/Dependent.java
index d4deb1a..4974f11 100644
--- a/src/main/java/sf/codingcompetition2020/structures/Dependent.java
+++ b/src/main/java/sf/codingcompetition2020/structures/Dependent.java
@@ -4,4 +4,24 @@ public class Dependent {
private String firstName;
private String lastName;
+ public Dependent(String firstName, String lastName) {
+ this.firstName = firstName;
+ this.lastName = lastName;
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
}
diff --git a/src/main/java/sf/codingcompetition2020/structures/Vendor.java b/src/main/java/sf/codingcompetition2020/structures/Vendor.java
index 6b6fb76..117b7a4 100644
--- a/src/main/java/sf/codingcompetition2020/structures/Vendor.java
+++ b/src/main/java/sf/codingcompetition2020/structures/Vendor.java
@@ -5,5 +5,43 @@ public class Vendor {
private String area;
private int vendorRating;
private boolean inScope;
-
+
+ public Vendor(int vendorId, String area, int vendorRating, boolean inScope) {
+ this.vendorId = vendorId;
+ this.area = area;
+ this.vendorRating = vendorRating;
+ this.inScope = inScope;
+ }
+
+ public int getVendorId() {
+ return vendorId;
+ }
+
+ public void setVendorId(int vendorId) {
+ this.vendorId = vendorId;
+ }
+
+ public String getArea() {
+ return area;
+ }
+
+ public void setArea(String area) {
+ this.area = area;
+ }
+
+ public int getVendorRating() {
+ return vendorRating;
+ }
+
+ public void setVendorRating(int vendorRating) {
+ this.vendorRating = vendorRating;
+ }
+
+ public boolean isInScope() {
+ return inScope;
+ }
+
+ public void setInScope(boolean inScope) {
+ this.inScope = inScope;
+ }
}
diff --git a/src/test/java/sf/codingcompetition2020/CodingCompCsvUtilTest.java b/src/test/java/sf/codingcompetition2020/CodingCompCsvUtilTest.java
index c29959f..92c7a39 100644
--- a/src/test/java/sf/codingcompetition2020/CodingCompCsvUtilTest.java
+++ b/src/test/java/sf/codingcompetition2020/CodingCompCsvUtilTest.java
@@ -2,6 +2,8 @@
import static org.junit.Assert.assertEquals;
+import java.io.FileNotFoundException;
+import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
diff --git a/target/classes/META-INF/MANIFEST.MF b/target/classes/META-INF/MANIFEST.MF
deleted file mode 100644
index e2a1a34..0000000
--- a/target/classes/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,5 +0,0 @@
-Manifest-Version: 1.0
-Built-By: yc1d
-Build-Jdk: 1.8.0_201
-Created-By: Maven Integration for Eclipse
-
diff --git a/target/classes/META-INF/maven/sf.codingcompetition2020/coding-competition/pom.properties b/target/classes/META-INF/maven/sf.codingcompetition2020/coding-competition/pom.properties
deleted file mode 100644
index fe569e3..0000000
--- a/target/classes/META-INF/maven/sf.codingcompetition2020/coding-competition/pom.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-#Generated by Maven Integration for Eclipse
-#Thu Oct 08 09:27:33 MST 2020
-version=1.0.0-SNAPSHOT
-groupId=sf.codingcompetition2020
-m2e.projectName=coding-competition
-m2e.projectLocation=/Users/yc1d/Development/coding-competition/problem/online-competition
-artifactId=coding-competition
diff --git a/target/classes/META-INF/maven/sf.codingcompetition2020/coding-competition/pom.xml b/target/classes/META-INF/maven/sf.codingcompetition2020/coding-competition/pom.xml
deleted file mode 100644
index 21d55bf..0000000
--- a/target/classes/META-INF/maven/sf.codingcompetition2020/coding-competition/pom.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
- 4.0.0
- coding-competition
- 1.0.0-SNAPSHOT
- jar
- sf.codingcompetition2020
-
- coding-competition
- Coding Competition
-
-
-
-
-
-
- junit
- junit
- 4.12
- test
-
-
-
- com.fasterxml.jackson.dataformat
- jackson-dataformat-csv
- 2.11.2
-
-
-
-
diff --git a/target/classes/sf/codingcompetition2020/CodingCompCsvUtil.class b/target/classes/sf/codingcompetition2020/CodingCompCsvUtil.class
index 00daba9..641ef17 100644
Binary files a/target/classes/sf/codingcompetition2020/CodingCompCsvUtil.class and b/target/classes/sf/codingcompetition2020/CodingCompCsvUtil.class differ
diff --git a/target/classes/sf/codingcompetition2020/structures/Agent.class b/target/classes/sf/codingcompetition2020/structures/Agent.class
index 26bf31f..556e8cc 100644
Binary files a/target/classes/sf/codingcompetition2020/structures/Agent.class and b/target/classes/sf/codingcompetition2020/structures/Agent.class differ
diff --git a/target/classes/sf/codingcompetition2020/structures/Claim.class b/target/classes/sf/codingcompetition2020/structures/Claim.class
index 1ce796d..14f6144 100644
Binary files a/target/classes/sf/codingcompetition2020/structures/Claim.class and b/target/classes/sf/codingcompetition2020/structures/Claim.class differ
diff --git a/target/classes/sf/codingcompetition2020/structures/Customer.class b/target/classes/sf/codingcompetition2020/structures/Customer.class
index 844ea29..0e783bc 100644
Binary files a/target/classes/sf/codingcompetition2020/structures/Customer.class and b/target/classes/sf/codingcompetition2020/structures/Customer.class differ
diff --git a/target/classes/sf/codingcompetition2020/structures/Dependent.class b/target/classes/sf/codingcompetition2020/structures/Dependent.class
index 3ee505f..2307896 100644
Binary files a/target/classes/sf/codingcompetition2020/structures/Dependent.class and b/target/classes/sf/codingcompetition2020/structures/Dependent.class differ
diff --git a/target/classes/sf/codingcompetition2020/structures/Vendor.class b/target/classes/sf/codingcompetition2020/structures/Vendor.class
index fdbca9b..fd6a7a1 100644
Binary files a/target/classes/sf/codingcompetition2020/structures/Vendor.class and b/target/classes/sf/codingcompetition2020/structures/Vendor.class differ
diff --git a/target/test-classes/sf/codingcompetition2020/CodingCompCsvUtilTest.class b/target/test-classes/sf/codingcompetition2020/CodingCompCsvUtilTest.class
index 765ac60..ac635ca 100644
Binary files a/target/test-classes/sf/codingcompetition2020/CodingCompCsvUtilTest.class and b/target/test-classes/sf/codingcompetition2020/CodingCompCsvUtilTest.class differ