Class MultiArrayCopyFactory<Source,Destination>

java.lang.Object
nom.tam.util.array.MultiArrayCopyFactory<Source,Destination>
Type Parameters:
Source - The generic type of array from which we want to copy elements
Destination - The generic type of array to which we want to copy elements.

@Deprecated public class MultiArrayCopyFactory<Source,Destination> extends Object
Deprecated.
(for internal use) use MultiArrayCopier instead. Make copies of multi-dimensional arrays.
  • Method Details

    • select

      public static MultiArrayCopyFactory<?,?> select(Class<?> primitiveType, Class<?> primitiveType2)
      Deprecated.
      for internal use only. This ought to be private.
      Parameters:
      primitiveType - the primitive class of the elements in the source array
      primitiveType2 - the primitive class of the elements in the destination array
      Returns:
      A suitable copier instance.
    • arraycopy

      public void arraycopy(Source src, int srcPos, Destination dest, int destPos, int length)
      Deprecated.
      Parameters:
      src - the source array
      srcPos - starting position in the source array
      dest - the destination array
      destPos - starting position in the destonation array
      length - the number of elements to copy