Interface BadHandler.ArrayHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isBad​(int pos)
      Indicates whether an element of this ArrayHandler's primitive array is bad.
      void putBad​(int pos)
      Writes a single bad value into this ArrayHandler's array.
    • Method Detail

      • isBad

        boolean isBad​(int pos)
        Indicates whether an element of this ArrayHandler's primitive array is bad.
        Parameters:
        pos - the position in array of the pixel to be tested.
        Throws:
        java.lang.IndexOutOfBoundsException - if pos is outside the bounds of the array
      • putBad

        void putBad​(int pos)
        Writes a single bad value into this ArrayHandler's array.
        Parameters:
        pos - the position at which to write the bad value
        Throws:
        java.lang.IndexOutOfBoundsException - if access outside the bounds of the array is attempted