+ Added command functionality base and modified command stub

This commit is contained in:
Matthew Cech
2019-05-05 15:22:49 -07:00
parent 854da8d8cd
commit 645e632dcb
9 changed files with 218 additions and 16 deletions
+27
View File
@@ -0,0 +1,27 @@
package core.benchmark;
public class BenchmarkEntry
{
public final BenchmarkType type;
public final String partNumber;
public final String brand;
public final String model;
public final int rank;
public final float benchmark;
public final int samples;
public final String url;
BenchmarkEntry(String input)
{
String[] row = input.split(",");
type = BenchmarkType.valueOf(row[0]);
partNumber = row[1];
brand = row[2];
model = row[3];
rank = Integer.parseInt(row[4]);
benchmark = Float.parseFloat(row[5]);
samples = Integer.parseInt(row[6]);
url = row[7];
}
}