333435363738394041
} return (x*h*d)+(y*d)+z; } private void throwDimException(int x, int y, int z) { throw new PositionOutsideDimensionsException( new int[] { w, h, d }, new int[] { x, y, z }); }
313233343536373839
} return (x*h)+y; } private void throwDimException(int x, int y) { throw new PositionOutsideDimensionsException( new int[] { w, h }, new int[] { x, y }); }