aboutsummaryrefslogtreecommitdiff
path: root/project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java
diff options
context:
space:
mode:
authorJoshua Rahm <joshua.rahm@colorado.edu>2015-01-27 18:40:32 -0700
committerJoshua Rahm <joshua.rahm@colorado.edu>2015-01-27 18:40:32 -0700
commit5f3fb9afece2125cbeba79d61a8d88460b7878d7 (patch)
treeb0e1e60bae9927a9449561bf7fe9431a54d12be9 /project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java
downloadLegacyQBar-5f3fb9afece2125cbeba79d61a8d88460b7878d7.tar.gz
LegacyQBar-5f3fb9afece2125cbeba79d61a8d88460b7878d7.tar.bz2
LegacyQBar-5f3fb9afece2125cbeba79d61a8d88460b7878d7.zip
initial commit
Diffstat (limited to 'project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java')
-rw-r--r--project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java b/project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java
new file mode 100644
index 0000000..a48ee31
--- /dev/null
+++ b/project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java
@@ -0,0 +1,21 @@
+package com.modulus.common.collections;
+
+/**
+ * Interface that extends grid to make a grid
+ * mutable.
+ *
+ * @author jrahm
+ *
+ * @param <T> the type this grid holds
+ */
+public interface UpdateableGrid<T> extends Grid<T>{
+ /**
+ * sets the reference in row <code>row</code> and column <code>col</code>
+ * to <code>obj</code>
+ *
+ * @param row the row
+ * @param col the column
+ * @param obj the object
+ */
+ public void set(int row, int col, T obj);
+}