if (bands.length > bankIndices.length) throw new RasterFormatException("BandedSampleModel createSubsetSampleModel too" +" many bands");
  public SampleModel createSubsetSampleModel(int[] bands)  {    int[] newoff = new int[bands.length];    int[] newbanks = new int[bands.length];    for (int i=0; i < bands.length; i++)      {	int b = bands[i];	newoff[i] = bandOffsets[b];	newbanks[i] = bankIndices[b];      }    if (bands.length > bankIndices.length)      throw new	RasterFormatException("BandedSampleModel createSubsetSampleModel too"			      +" many bands");        return new BandedSampleModel(dataType, width, height, scanlineStride,				 newbanks, newoff);  }