JAL-3141 Reworked a lot of BackupFiles to allow the Customise Checkbox
[jalview.git] / src / jalview / io / IntKeyStringValueEntry.java
diff --git a/src/jalview/io/IntKeyStringValueEntry.java b/src/jalview/io/IntKeyStringValueEntry.java
new file mode 100644 (file)
index 0000000..f246ad2
--- /dev/null
@@ -0,0 +1,31 @@
+package jalview.io;
+
+public class IntKeyStringValueEntry
+{
+  public int k;
+
+  public String v;
+
+  public IntKeyStringValueEntry(int k, String v)
+  {
+    this.k = k;
+    this.v = v;
+  }
+
+  @Override
+  public String toString()
+  {
+    return this.getValue();
+  }
+
+  public int getKey()
+  {
+    return k;
+  }
+
+  public String getValue()
+  {
+    return v;
+  }
+
+}