code: public boolean isOnBorder(Point<?> points) {
      boolean		result;
      Point<Integer>	locations;
      int		i;
  
      if (points.dimensions() != dimensions())
        throw new IllegalArgumentException(
          "Dimension mismatch: space=" + dimensions()
            + ", points=" + points.dimensions());
  
      if (!(points.getValue(0) instanceof Integer))
        locations = getLocations((Point<Object>) points);
      else
        locations = (Point<Integer>) points;
  
      result = false;
      for (i = 0; i < dimensions(); i++) {
        if (getDimension(i).isOnBorder(locations.getValue(i))) {
          result = true;
          break;
        }
      }
  
      return result;
    }
docs: checks whether the given locations/values are on the border of the space.
  
  @param points		the locations/values to check
  @return			true if the the locations/values are on the border