- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ByteConversionUtil (0.06 sec)
-
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
import org.codelibs.core.text.DecimalFormatUtil; /** * Utility class for conversions related to {@link Byte}. * * @author higa */ public abstract class ByteConversionUtil { /** * Do not instantiate. */ protected ByteConversionUtil() { } /** * Converts to {@link Byte}. * * @param o * The object to convert * @return The converted {@link Byte}
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java
* @throws Exception */ public void testToByte() throws Exception { assertEquals(Byte.valueOf("100"), ByteConversionUtil.toByte("100")); } /** * @throws Exception */ public void testToPrimitiveByte() throws Exception { assertEquals(100, ByteConversionUtil.toPrimitiveByte("100")); } /** * @throws Exception */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
return ShortConversionUtil.toShort(o); } else if (type == BigInteger.class) { return BigIntegerConversionUtil.toBigInteger(o); } else if (type == Byte.class) { return ByteConversionUtil.toByte(o); } return o; } /** * Converts to the wrapper type corresponding to the specified primitive type. * * @param type * Primitive type
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0)