Пример #1
0
 /** @return long Upper bound of extent along indicated dimension */
 @Override
 public long getRangeUpperBound(int extentIndex, int dimensionHandle)
     throws ArrayIndexOutOfBounds {
   try {
     return region.getRangeUpperBound(extentIndex, dimensionHandle);
   } catch (JArrayIndexOutOfBounds oob) {
     throw new ArrayIndexOutOfBounds(oob);
   }
 }
Пример #2
0
 @Override
 public long getRangeLowerBoundNotificationLimit(int theExtent, int theDimension)
     throws ArrayIndexOutOfBounds {
   try {
     return region.getRangeLowerBoundNotificationLimit(theExtent, theDimension);
   } catch (JArrayIndexOutOfBounds oob) {
     throw new ArrayIndexOutOfBounds(oob);
   }
 }
Пример #3
0
 /** Modify upper bound of extent along indicated dimension. */
 @Override
 public void setRangeUpperBound(int extentIndex, int dimensionHandle, long newUpperBound)
     throws ArrayIndexOutOfBounds {
   try {
     region.setRangeUpperBound(extentIndex, dimensionHandle, newUpperBound);
   } catch (JArrayIndexOutOfBounds oob) {
     throw new ArrayIndexOutOfBounds(oob);
   }
 }
Пример #4
0
 /** @return long Number of extents in this Region */
 @Override
 public long getNumberOfExtents() {
   return region.getNumberOfExtents();
 }
Пример #5
0
 /** Gets the region handle for the wrapped region */
 public int getRegionHandle() {
   return region.getToken();
 }
Пример #6
0
 /** @return int Handle of routing space of which this Region is a subset */
 @Override
 public int getSpaceHandle() {
   return region.getSpaceHandle();
 }