Esempio n. 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);
   }
 }
Esempio n. 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);
   }
 }
Esempio n. 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);
   }
 }
Esempio n. 4
0
 /** @return long Number of extents in this Region */
 @Override
 public long getNumberOfExtents() {
   return region.getNumberOfExtents();
 }
Esempio n. 5
0
 /** Gets the region handle for the wrapped region */
 public int getRegionHandle() {
   return region.getToken();
 }
Esempio n. 6
0
 /** @return int Handle of routing space of which this Region is a subset */
 @Override
 public int getSpaceHandle() {
   return region.getSpaceHandle();
 }