Searched refs:byteLiteral (Results 1 – 1 of 1) sorted by relevance
36 public static byte parseByte(String byteLiteral) in parseByte() argument38 if (byteLiteral == null) { in parseByte()41 if (byteLiteral.length() == 0) { in parseByte()46 if (byteLiteral.toUpperCase().endsWith("T")) { in parseByte()47 byteChars = byteLiteral.substring(0, byteLiteral.length()-1).toCharArray(); in parseByte()49 byteChars = byteLiteral.toCharArray(); in parseByte()84 throw new NumberFormatException(byteLiteral + " cannot fit into a byte"); in parseByte()87 throw new NumberFormatException(byteLiteral + " cannot fit into a byte"); in parseByte()98 throw new NumberFormatException(byteLiteral + " cannot fit into a byte"); in parseByte()