Here you can find the source of deepCopy(final String s)
input != (return value)
Parameter | Description |
---|---|
s | input string |
public static String deepCopy(final String s)
//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); } }