RasterUtils { public static RasterDataAdapter createDataAdapterTypeDouble( final String coverageName, final int numBands, final int tileSize) { return createDataAdapterTypeDouble(coverageName, numBands, tileSize, null); }  static Geometry getFootprint(
      final GridCoverage gridCoverage,
      final CoordinateReferenceSystem targetCrs); static ReferencedEnvelope getReferenceEnvelope(
      final GridCoverage gridCoverage,
      final CoordinateReferenceSystem targetCrs); static Geometry getFootprint(
      final ReferencedEnvelope projectedReferenceEnvelope,
      final GridCoverage gridCoverage); static Geometry combineIntoOneGeometry(
      final Geometry geometry1,
      final Geometry geometry2); static MathTransform createTransform(
      final double[] idRangePerDimension,
      final MultiDimensionalNumericData fullBounds); static AffineTransform createAffineTransform(
      final double[] idRangePerDimension,
      final MultiDimensionalNumericData fullBounds); static void fillWithNoDataValues(
      final WritableRaster raster,
      final double[][] noDataValues); static synchronized GridCoverage2D mosaicGridCoverages(
      final Iterator<GridCoverage> gridCoverages,
      final Color backgroundColor,
      final Color outputTransparentColor,
      final Rectangle pixelDimension,
      final GeneralEnvelope requestEnvelope,
      final double levelResX,
      final double levelResY,
      final double[][] noDataValues,
      final boolean xAxisSwitch,
      final GridCoverageFactory coverageFactory,
      final String coverageName,
      final Interpolation interpolation,
      final Histogram histogram,
      final boolean scaleTo8BitSet,
      final boolean scaleTo8Bit,
      final ColorModel defaultColorModel); @SuppressFBWarnings( value = {"RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"}, justification = "incorrect; drawImage has side effects") static BufferedImage toBufferedImage(final Image image, final int type); static void forceRenderingHints(final RenderingHints renderingHints); static synchronized Operations getCoverageOperations(); static BufferedImage getEmptyImage(
      final int width,
      final int height,
      final Color backgroundColor,
      final Color outputTransparentColor,
      final ColorModel defaultColorModel); static WritableRaster createRasterTypeDouble(final int numBands, final int tileSize); static RasterDataAdapter createDataAdapterTypeDouble(
      final String coverageName,
      final int numBands,
      final int tileSize); static RasterDataAdapter createDataAdapterTypeDouble(
      final String coverageName,
      final int numBands,
      final int tileSize,
      final RasterTileMergeStrategy<?> mergeStrategy); static RasterDataAdapter createDataAdapterTypeDouble(
      final String coverageName,
      final int numBands,
      final int tileSize,
      final double[] minsPerBand,
      final double[] maxesPerBand,
      final String[] namesPerBand,
      final RasterTileMergeStrategy<?> mergeStrategy); static GridCoverage2D createCoverageTypeDouble(
      final String coverageName,
      final double westLon,
      final double eastLon,
      final double southLat,
      final double northLat,
      final WritableRaster raster); static GridCoverage2D createCoverageTypeDouble(
      final String coverageName,
      final double westLon,
      final double eastLon,
      final double southLat,
      final double northLat,
      final double[] minPerBand,
      final double[] maxPerBand,
      final String[] namePerBand,
      final WritableRaster raster); static GridCoverage2D createCoverageTypeDouble(
      final String coverageName,
      final double westLon,
      final double eastLon,
      final double southLat,
      final double northLat,
      final double[] minPerBand,
      final double[] maxPerBand,
      final String[] namePerBand,
      final WritableRaster raster,
      final String crsCode); static final CoordinateOperationFactory OPERATION_FACTORY; }
@Test public void testCreateDataAdapter() { final RasterDataAdapter adapter = RasterUtils.createDataAdapterTypeDouble("test", 3, 256, new NoDataMergeStrategy()); Assert.assertNotNull(adapter); Assert.assertEquals("test", adapter.getCoverageName()); Assert.assertEquals(3, adapter.getSampleModel().getNumBands()); Assert.assertEquals(256, adapter.getTileSize()); }