- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for toShort (0.15 sec)
-
src/main/java/org/codelibs/core/convert/ShortConversionUtil.java
* @return 変換された{@link Short} */ public static Short toShort(final Object o) { return toShort(o, null); } /** * {@link Short}に変換します。 * * @param o * 変換元のオブジェクト * @param pattern * パターン文字列 * @return 変換された{@link Short} */ public static Short toShort(final Object o, final String pattern) { if (o == null) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
* */ public class ShortConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToShort() throws Exception { assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000")); } /** * @throws Exception */ public void testToPrimitiveShort() throws Exception { assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
return LongConversionUtil.toLong(o); } else if (type == Float.class) { return FloatConversionUtil.toFloat(o); } else if (type == Short.class) { return ShortConversionUtil.toShort(o); } else if (type == BigInteger.class) { return BigIntegerConversionUtil.toBigInteger(o); } else if (type == Byte.class) { return ByteConversionUtil.toByte(o); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
args[index] = ByteConversionUtil.toByte(args[index]); return true; } else if (paramTypes[index] == short.class) { args[index] = ShortConversionUtil.toShort(args[index]); return true; } else if (paramTypes[index] == int.class) { args[index] = IntegerConversionUtil.toInteger(args[index]); return true;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
byte byteValue(); public abstract short shortValue(); public abstract int intValue(); public abstract long longValue(); public abstract float floatValue(); public abstract double doubleValue(); public abstract byte toByte(); public abstract short toShort(); public abstract int toInt(); public abstract long toLong(); public abstract float toFloat(); public abstract double toDouble(); public abstract boolean isValidByte(); public abstract boolean isValidShort(); public abstract boolean isValidInt();...
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{"632 k=1\n", "632 k=1\n", "", "", false}, {"16 longkeyname=hahaha\n", "16 longkeyname=hahaha\n", "", "", false}, {"3 somelongkey=\n", "3 somelongkey=\n", "", "", false}, {"50 tooshort=\n", "50 tooshort=\n", "", "", false},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
setUp(parameters.first, parameters.second) set("a", "a", "a") val snapshot = cache["a"]!! snapshot.close() val toAbort = snapshot.edit()!! toAbort.setString(0, "b") toAbort.abort() val editor = snapshot.edit()!! editor.setString(1, "a2") editor.commit() assertValue("a", "a", "a2") } @ParameterizedTest
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
src/archive/tar/reader_test.go
{"9 a=name\n", map[string]string{"a": "name"}, true}, {"30 mtime=1350244992.023960108\n", map[string]string{"mtime": "1350244992.023960108"}, true}, {"3 somelongkey=\n", nil, false}, {"50 tooshort=\n", nil, false}, {"13 key1=haha\n13 key2=nana\n13 key3=kaka\n", map[string]string{"key1": "haha", "key2": "nana", "key3": "kaka"}, true}, {"13 key1=val1\n13 key2=val2\n8 key1=\n",
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0)