Java Short Number Create toShort(final String value)

Here you can find the source of toShort(final String value)

Description

create Intger from str.

License

Apache License

Parameter

Parameter Description
value a parameter

Declaration

public static Short toShort(final String value) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**/*  ww  w .  jav a  2 s . co  m*/
     * create Intger from str.
     * @param value
     * @return
     */
    public static Short toShort(final String value) {
        return Short.parseShort(value);
    }
}

Related

  1. toShort(final byte[] b)
  2. toShort(final byte[] b)
  3. toShort(final byte[] buffer, final int offset, final int length)
  4. toShort(final byte[] inputBytes, int offset)
  5. toShort(final String bitString)
  6. toShort(int src)
  7. toShort(int unsignedShort)
  8. toShort(long l)
  9. toShort(long n)