From 5f3fb9afece2125cbeba79d61a8d88460b7878d7 Mon Sep 17 00:00:00 2001 From: Joshua Rahm Date: Tue, 27 Jan 2015 18:40:32 -0700 Subject: initial commit --- .../modulus/common/collections/UpdateableGrid.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java (limited to 'project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java') 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 the type this grid holds + */ +public interface UpdateableGrid extends Grid{ + /** + * sets the reference in row row and column col + * to obj + * + * @param row the row + * @param col the column + * @param obj the object + */ + public void set(int row, int col, T obj); +} -- cgit