Java String from fromString(String value)

Here you can find the source of fromString(String value)

Description

Returns the given String value.

License

Open Source License

Declaration

private static Object fromString(String value) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**//from w w w .ja  va  2 s . c o  m
     * Returns the given String value.
     */
    private static Object fromString(String value) {
        return
        // "null" is the external string representation of null
        "null".equals(value) ? null : value;
    }
}

Related

  1. fromString(final String string)
  2. fromString(String s)
  3. fromString(String string)
  4. fromStringStrings(String s, String separator)