Class MemCopy.MemCopyChar

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

public static class MemCopy.MemCopyChar extends Object implements MemCopy<char[]>
  • Constructor Details

    • MemCopyChar

      public MemCopyChar()
  • Method Details

    • copyForward

      public void copyForward(char[] src, int srcPos, char[] 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<char[]>
    • copyReverse

      public void copyReverse(char[] src, int srcPos, char[] 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<char[]>
    • copyValue

      public void copyValue(char[] src, int srcPos, char[] 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<char[]>
    • copyStrided

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

      public void copyLines(int lineDir, int lineLength, int numLines, char[] src, int srcPos, int srcStep, char[] dest, int destPos, int destStep)
      Description copied from interface: MemCopy
      Copy numLines stretches of lineLength elements.
      Specified by:
      copyLines in interface MemCopy<char[]>
      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