/[classpath]/classpath/java/awt/image/ComponentSampleModel.java
ViewVC logotype

Diff of /classpath/java/awt/image/ComponentSampleModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by fitzsim, Sat Oct 1 18:57:57 2005 UTC revision 1.9 by tromey, Mon Oct 3 17:56:47 2005 UTC
# Line 63  public class ComponentSampleModel extend Line 63  public class ComponentSampleModel extend
63    protected int[] bandOffsets;    protected int[] bandOffsets;
64    protected int[] bankIndices;    protected int[] bankIndices;
65        
66    /** Number of bands in the image described. */    /**
67    // This field shadows the package-private numBands in SampleModel.     * Number of bands in the image described.
68       * @specnote This field shadows the protected numBands in SampleModel.
69       */
70    protected int numBands;    protected int numBands;
71        
72    /** Used when creating data buffers. */    /** Used when creating data buffers. */
# Line 101  public class ComponentSampleModel extend Line 103  public class ComponentSampleModel extend
103            
104      this.bandOffsets = bandOffsets;      this.bandOffsets = bandOffsets;
105      this.bankIndices = bankIndices;      this.bankIndices = bankIndices;
106        this.numBands = bandOffsets.length;
107    
108      this.numBanks = 0;      this.numBanks = 0;
109      for (int b=0; b<bankIndices.length; b++)      for (int b=0; b<bankIndices.length; b++)

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26