Class ArrayCopyUtils


  • public class ArrayCopyUtils
    extends Object
    The class ArrayCopyUtils provides methods to copy values across arrays of different types.
    • Method Summary

      Modifier and Type Method Description
      static void copy​(boolean[] src, int[] dest, int length)  
      static void copy​(byte[][] src, String[] dest, int length)  
      static void copy​(byte[][] src, BigDecimal[] dest, int length)  
      static void copy​(double[][] src, float[][] dest, int length)  
      static void copy​(double[][] src, int[][] dest, int length)  
      static void copy​(double[][] src, long[][] dest, int length)  
      static void copy​(double[][] src, String[][] dest, int length)  
      static void copy​(double[][] src, BigDecimal[][] dest, int length)  
      static void copy​(double[] src, float[] dest, int length)  
      static void copy​(double[] src, int[] dest, int length)  
      static void copy​(double[] src, long[] dest, int length)  
      static void copy​(double[] src, String[] dest, int length)  
      static void copy​(double[] src, BigDecimal[] dest, int length)  
      static void copy​(float[][] src, double[][] dest, int length)  
      static void copy​(float[][] src, int[][] dest, int length)  
      static void copy​(float[][] src, long[][] dest, int length)  
      static void copy​(float[][] src, String[][] dest, int length)  
      static void copy​(float[][] src, BigDecimal[][] dest, int length)  
      static void copy​(float[] src, double[] dest, int length)  
      static void copy​(float[] src, int[] dest, int length)  
      static void copy​(float[] src, long[] dest, int length)  
      static void copy​(float[] src, String[] dest, int length)  
      static void copy​(float[] src, BigDecimal[] dest, int length)  
      static void copy​(int[][] src, double[][] dest, int length)  
      static void copy​(int[][] src, float[][] dest, int length)  
      static void copy​(int[][] src, long[][] dest, int length)  
      static void copy​(int[][] src, String[][] dest, int length)  
      static void copy​(int[][] src, BigDecimal[][] dest, int length)  
      static void copy​(int[] src, double[] dest, int length)  
      static void copy​(int[] src, float[] dest, int length)  
      static void copy​(int[] src, long[] dest, int length)  
      static void copy​(int[] src, String[] dest, int length)  
      static void copy​(int[] src, BigDecimal[] dest, int length)  
      static void copy​(long[][] src, double[][] dest, int length)  
      static void copy​(long[][] src, float[][] dest, int length)  
      static void copy​(long[][] src, int[][] dest, int length)  
      static void copy​(long[][] src, String[][] dest, int length)  
      static void copy​(long[][] src, BigDecimal[][] dest, int length)  
      static void copy​(long[] src, double[] dest, int length)  
      static void copy​(long[] src, float[] dest, int length)  
      static void copy​(long[] src, int[] dest, int length)  
      static void copy​(long[] src, String[] dest, int length)  
      static void copy​(long[] src, BigDecimal[] dest, int length)  
      static void copy​(String[][] src, byte[][][] dest, int length)  
      static void copy​(String[][] src, double[][] dest, int length)  
      static void copy​(String[][] src, float[][] dest, int length)  
      static void copy​(String[][] src, int[][] dest, int length)  
      static void copy​(String[][] src, long[][] dest, int length)  
      static void copy​(String[][] src, BigDecimal[][] dest, int length)  
      static void copy​(String[] src, byte[][] dest, int length)  
      static void copy​(String[] src, double[] dest, int length)  
      static void copy​(String[] src, float[] dest, int length)  
      static void copy​(String[] src, int[] dest, int length)  
      static void copy​(String[] src, long[] dest, int length)  
      static void copy​(String[] src, BigDecimal[] dest, int length)  
      static void copy​(BigDecimal[] src, byte[][] dest, int length)  
      static void copy​(BigDecimal[] src, double[] dest, int length)  
      static void copy​(BigDecimal[] src, float[] dest, int length)  
      static void copy​(BigDecimal[] src, int[] dest, int length)  
      static void copy​(BigDecimal[] src, long[] dest, int length)  
      static void copy​(BigDecimal[] src, String[] dest, int length)  
      static void copy​(Timestamp[] src, long[] dest, int length)  
      static void copyFromBoolean​(int[][] src, String[][] dest, int length)  
      static void copyFromBoolean​(int[] src, String[] dest, int length)  
      static void copyFromTimestamp​(long[][] src, String[][] dest, int length)  
      static void copyFromTimestamp​(long[] src, String[] dest, int length)  
      static void copyToBoolean​(double[][] src, int[][] dest, int length)  
      static void copyToBoolean​(double[] src, int[] dest, int length)  
      static void copyToBoolean​(float[][] src, int[][] dest, int length)  
      static void copyToBoolean​(float[] src, int[] dest, int length)  
      static void copyToBoolean​(int[][] src, int[][] dest, int length)  
      static void copyToBoolean​(int[] src, int[] dest, int length)  
      static void copyToBoolean​(long[][] src, int[][] dest, int length)  
      static void copyToBoolean​(long[] src, int[] dest, int length)  
      static void copyToBoolean​(String[][] src, int[][] dest, int length)  
      static void copyToBoolean​(String[] src, int[] dest, int length)  
      static void copyToBoolean​(BigDecimal[] src, int[] dest, int length)  
      static void copyToTimestamp​(String[][] src, long[][] dest, int length)  
      static void copyToTimestamp​(String[] src, long[] dest, int length)  
    • Method Detail

      • copy

        public static void copy​(int[] src,
                                long[] dest,
                                int length)
      • copy

        public static void copy​(int[] src,
                                float[] dest,
                                int length)
      • copy

        public static void copy​(int[] src,
                                double[] dest,
                                int length)
      • copy

        public static void copy​(int[] src,
                                BigDecimal[] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(int[] src,
                                         int[] dest,
                                         int length)
      • copy

        public static void copy​(int[] src,
                                String[] dest,
                                int length)
      • copy

        public static void copy​(long[] src,
                                int[] dest,
                                int length)
      • copy

        public static void copy​(long[] src,
                                float[] dest,
                                int length)
      • copy

        public static void copy​(long[] src,
                                double[] dest,
                                int length)
      • copy

        public static void copy​(long[] src,
                                BigDecimal[] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(long[] src,
                                         int[] dest,
                                         int length)
      • copy

        public static void copy​(long[] src,
                                String[] dest,
                                int length)
      • copy

        public static void copy​(float[] src,
                                int[] dest,
                                int length)
      • copy

        public static void copy​(float[] src,
                                long[] dest,
                                int length)
      • copy

        public static void copy​(float[] src,
                                double[] dest,
                                int length)
      • copy

        public static void copy​(float[] src,
                                BigDecimal[] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(float[] src,
                                         int[] dest,
                                         int length)
      • copy

        public static void copy​(float[] src,
                                String[] dest,
                                int length)
      • copy

        public static void copy​(double[] src,
                                int[] dest,
                                int length)
      • copy

        public static void copy​(double[] src,
                                long[] dest,
                                int length)
      • copy

        public static void copy​(double[] src,
                                float[] dest,
                                int length)
      • copy

        public static void copy​(double[] src,
                                BigDecimal[] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(double[] src,
                                         int[] dest,
                                         int length)
      • copy

        public static void copy​(double[] src,
                                String[] dest,
                                int length)
      • copy

        public static void copy​(BigDecimal[] src,
                                int[] dest,
                                int length)
      • copy

        public static void copy​(BigDecimal[] src,
                                long[] dest,
                                int length)
      • copy

        public static void copy​(BigDecimal[] src,
                                float[] dest,
                                int length)
      • copy

        public static void copy​(BigDecimal[] src,
                                double[] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(BigDecimal[] src,
                                         int[] dest,
                                         int length)
      • copy

        public static void copy​(BigDecimal[] src,
                                String[] dest,
                                int length)
      • copy

        public static void copy​(BigDecimal[] src,
                                byte[][] dest,
                                int length)
      • copyFromBoolean

        public static void copyFromBoolean​(int[] src,
                                           String[] dest,
                                           int length)
      • copyFromTimestamp

        public static void copyFromTimestamp​(long[] src,
                                             String[] dest,
                                             int length)
      • copy

        public static void copy​(String[] src,
                                int[] dest,
                                int length)
      • copy

        public static void copy​(String[] src,
                                long[] dest,
                                int length)
      • copy

        public static void copy​(String[] src,
                                float[] dest,
                                int length)
      • copy

        public static void copy​(String[] src,
                                double[] dest,
                                int length)
      • copy

        public static void copy​(String[] src,
                                BigDecimal[] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(String[] src,
                                         int[] dest,
                                         int length)
      • copyToTimestamp

        public static void copyToTimestamp​(String[] src,
                                           long[] dest,
                                           int length)
      • copy

        public static void copy​(String[] src,
                                byte[][] dest,
                                int length)
      • copy

        public static void copy​(String[][] src,
                                byte[][][] dest,
                                int length)
      • copy

        public static void copy​(byte[][] src,
                                BigDecimal[] dest,
                                int length)
      • copy

        public static void copy​(byte[][] src,
                                String[] dest,
                                int length)
      • copy

        public static void copy​(int[][] src,
                                long[][] dest,
                                int length)
      • copy

        public static void copy​(int[][] src,
                                float[][] dest,
                                int length)
      • copy

        public static void copy​(int[][] src,
                                double[][] dest,
                                int length)
      • copy

        public static void copy​(int[][] src,
                                BigDecimal[][] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(int[][] src,
                                         int[][] dest,
                                         int length)
      • copy

        public static void copy​(int[][] src,
                                String[][] dest,
                                int length)
      • copy

        public static void copy​(long[][] src,
                                int[][] dest,
                                int length)
      • copy

        public static void copy​(long[][] src,
                                float[][] dest,
                                int length)
      • copy

        public static void copy​(long[][] src,
                                double[][] dest,
                                int length)
      • copy

        public static void copy​(long[][] src,
                                BigDecimal[][] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(long[][] src,
                                         int[][] dest,
                                         int length)
      • copy

        public static void copy​(long[][] src,
                                String[][] dest,
                                int length)
      • copy

        public static void copy​(float[][] src,
                                int[][] dest,
                                int length)
      • copy

        public static void copy​(float[][] src,
                                long[][] dest,
                                int length)
      • copy

        public static void copy​(float[][] src,
                                double[][] dest,
                                int length)
      • copy

        public static void copy​(float[][] src,
                                BigDecimal[][] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(float[][] src,
                                         int[][] dest,
                                         int length)
      • copy

        public static void copy​(float[][] src,
                                String[][] dest,
                                int length)
      • copy

        public static void copy​(double[][] src,
                                int[][] dest,
                                int length)
      • copy

        public static void copy​(double[][] src,
                                long[][] dest,
                                int length)
      • copy

        public static void copy​(double[][] src,
                                float[][] dest,
                                int length)
      • copy

        public static void copy​(double[][] src,
                                BigDecimal[][] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(double[][] src,
                                         int[][] dest,
                                         int length)
      • copy

        public static void copy​(double[][] src,
                                String[][] dest,
                                int length)
      • copyFromBoolean

        public static void copyFromBoolean​(int[][] src,
                                           String[][] dest,
                                           int length)
      • copyFromTimestamp

        public static void copyFromTimestamp​(long[][] src,
                                             String[][] dest,
                                             int length)
      • copy

        public static void copy​(String[][] src,
                                int[][] dest,
                                int length)
      • copy

        public static void copy​(String[][] src,
                                long[][] dest,
                                int length)
      • copy

        public static void copy​(String[][] src,
                                float[][] dest,
                                int length)
      • copy

        public static void copy​(String[][] src,
                                double[][] dest,
                                int length)
      • copy

        public static void copy​(String[][] src,
                                BigDecimal[][] dest,
                                int length)
      • copyToBoolean

        public static void copyToBoolean​(String[][] src,
                                         int[][] dest,
                                         int length)
      • copyToTimestamp

        public static void copyToTimestamp​(String[][] src,
                                           long[][] dest,
                                           int length)
      • copy

        public static void copy​(boolean[] src,
                                int[] dest,
                                int length)
      • copy

        public static void copy​(Timestamp[] src,
                                long[] dest,
                                int length)