Class MemCopy.MemCopyBoolean

java.lang.Object
net.imglib2.blocks.MemCopy.MemCopyBoolean
All Implemented Interfaces:
MemCopy<boolean[]>
Enclosing interface:
MemCopy<T>

public static class MemCopy.MemCopyBoolean extends Object implements MemCopy<boolean[]>
  • Constructor Details

    • MemCopyBoolean

      public MemCopyBoolean()
  • Method Details

    • copyForward

      public void copyForward(boolean[] src, int srcPos, boolean[] dest, int destPos, int length)
      Description copied from interface: MemCopy
      Copy length components from the src array to the dest array. The components at positions srcPos through srcPos+length-1 in the source array are copied into positions destPos through destPos+length-1, respectively, of the destination array.
      Specified by:
      copyForward in interface MemCopy<boolean[]>
    • copyReverse

      public void copyReverse(boolean[] src, int srcPos, boolean[] dest, int destPos, int length)
      Description copied from interface: MemCopy
      Copy length components from the src array to the dest array, in reverse order. The components at positions srcPos through srcPos-length-1 in the source array are copied into positions destPos through destPos+length-1, respectively, of the destination array.
      Specified by:
      copyReverse in interface MemCopy<boolean[]>
    • copyValue

      public void copyValue(boolean[] src, int srcPos, boolean[] dest, int destPos, int length)
      Description copied from interface: MemCopy
      Copy component at position srcPos in the src array (length times) into positions destPos through destPos+length-1 of the destination array.
      Specified by:
      copyValue in interface MemCopy<boolean[]>
    • copyStrided

      public void copyStrided(boolean[] src, int srcPos, boolean[] dest, int destPos, int destStride, int length)
      Description copied from interface: MemCopy
      TODO javadoc
      Specified by:
      copyStrided in interface MemCopy<boolean[]>
    • copyLines

      public void copyLines(int lineDir, int lineLength, int numLines, boolean[] src, int srcPos, int srcStep, boolean[] dest, int destPos, int destStep)
      Description copied from interface: MemCopy
      Copy numLines stretches of lineLength elements.
      Specified by:
      copyLines in interface MemCopy<boolean[]>
      Parameters:
      lineDir - 1, -1, or 0. This corresponds (for every line being copied) to the source position moving forward, backward, or not at all, as the dest position is moving forward.
      lineLength - how many elements to copy per line
      numLines - how many lines to copy
      src - source array
      srcPos - starting position in source array
      srcStep - offset to next line in src
      dest - dest array
      destPos - starting position in dest array
      destStep - offset to next line in dest