Beispiel #1
0
 public TokenFootprint setFootprint(Grid grid, TokenFootprint footprint) {
   return grid.getFootprint(getSizeMap().put(grid.getClass(), footprint.getId()));
 }
Beispiel #2
0
 /** @return Returns the size. */
 public TokenFootprint getFootprint(Grid grid) {
   return grid.getFootprint(getSizeMap().get(grid.getClass()));
 }