Cell.java
package edu.udel.cis.vsl.tass.dynamic.impl.cell;
import edu.udel.cis.vsl.tass.dynamic.IF.cell.CellIF;
public abstract class Cell implements CellIF {
private DynamicScope scope;
public Cell(DynamicScope scope) {
this.scope = scope;
}
public DynamicScope scope() {
return scope;
}
public boolean equals(Object object) {
if (this == object)
return true;
if (object instanceof Cell) {
Cell that = (Cell) object;
return scope == that.scope;
}
return false;
}
public int hashCode() {
return 16 * scope.hashCode();
}
}