Java Array Deep Copy deepCopy(final String s)

Here you can find the source of deepCopy(final String s)

Description

Does an deep copy of the input string and returns so input != (return value)

License

Open Source License

Parameter

Parameter Description
s input string

Return

deep copy

Declaration

public static String deepCopy(final String s) 

Method Source Code

//package com.java2s;

public class Main {
    /**//w  w  w .  j a  v a2 s  . co  m
     * Does an deep copy of the input string and returns so <code>input != (return value)</code>
     * @param s input string
     * @return deep copy
     */
    public static String deepCopy(final String s) {
        return new String(s);
    }
}

Related

  1. deepArrayCopy(double[][] original)
  2. deepClone(double[][] ary)
  3. deepClone(int[][] source)
  4. deepCopy(byte[] org)
  5. deepCopy(double[][] in)
  6. deepCopy(int[] array)
  7. deepCopy(int[][] src, int[][] dest)
  8. deepCopy(Object objectArray)
  9. deepCopy2DArray(float[][] a)