Java Integer Create toIntDecoded(String s)

Here you can find the source of toIntDecoded(String s)

Description

to Int Decoded

License

Open Source License

Declaration

public static int toIntDecoded(String s) 

Method Source Code

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

public class Main {
    public static int toIntDecoded(String s) {
        return Integer.decode(s);
    }//  ww  w.  j  a  va  2  s.  co  m

    public static Integer decode(String s) {
        try {
            Integer i = Integer.decode(s);
            return i;
        } catch (Exception e) {
        }
        return null;
    }
}

Related

  1. toIntArray(String[] array)
  2. toIntArray(String[] ss)
  3. toIntArrayUnshifted(byte... arguments)
  4. toIntBE(byte[] src, int offset)
  5. toIntBigEndian(byte[] input)
  6. toIntDefaultIfNull(Integer configured, int theDefault)
  7. toInteger(boolean b)
  8. toInteger(boolean bool)
  9. toInteger(boolean bool)