diff options
Diffstat (limited to 'project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java')
| -rw-r--r-- | project/JavaCommon/src/com/modulus/common/collections/UpdateableGrid.java | 21 |
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); +} |