Searched refs:shortLiteral (Results 1 – 1 of 1) sorted by relevance
106 public static short parseShort(String shortLiteral) in parseShort() argument108 if (shortLiteral == null) { in parseShort()111 if (shortLiteral.length() == 0) { in parseShort()116 if (shortLiteral.toUpperCase().endsWith("S")) { in parseShort()117 shortChars = shortLiteral.substring(0, shortLiteral.length()-1).toCharArray(); in parseShort()119 shortChars = shortLiteral.toCharArray(); in parseShort()154 throw new NumberFormatException(shortLiteral + " cannot fit into a short"); in parseShort()157 throw new NumberFormatException(shortLiteral + " cannot fit into a short"); in parseShort()168 throw new NumberFormatException(shortLiteral + " cannot fit into a short"); in parseShort()