- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 307 for ValueOf (0.04 sec)
-
src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java
/** * @author higa * */ public class ByteConversionUtilTest extends TestCase { /** * @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"));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/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java
/** * @author higa * */ public class DoubleConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToDouble() throws Exception { assertEquals(Double.valueOf("1000.5"), DoubleConversionUtil.toDouble("1,000.5")); } /** * @throws Exception */ public void testToPrimitiveDouble() throws Exception {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java
/** * @author higa * */ public class FloatConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToFloat() throws Exception { assertEquals(Float.valueOf("1000.5"), FloatConversionUtil.toFloat("1,000.5")); } /** * @throws Exception */ public void testToPrimitiveFloat() throws Exception {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SpecialRandom.java
* * <p>TODO: Remove this class once Caliper has a better way. * * @author Nicholaus Shupe */ @NullUnmarked public final class SpecialRandom extends Random { public static SpecialRandom valueOf(String s) { return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s)); } private final boolean hasSeed; private final long seed; public SpecialRandom() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/JsonUtil.java
case '\n' -> "\\n"; case '\f' -> "\\f"; case '\r' -> "\\r"; default -> c < ' ' ? "\\u" + "0".repeat(4 - Integer.toHexString(c).length()) + Integer.toHexString(c) : String.valueOf(c); }; buf.append(escaped); } return buf.toString(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
for (int i = 0; i < count; i++) { elements[i] = String.valueOf(i); } String result = StringUtil.join(",", elements); // Verify result contains all elements String[] parts = result.split(","); assertEquals(count, parts.length); for (int i = 0; i < count; i++) { assertEquals(String.valueOf(i), parts[i]); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
schema/serializer.go
return } // Value implements serializer interface func (UnixSecondSerializer) Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (result interface{}, err error) { rv := reflect.ValueOf(fieldValue) switch v := fieldValue.(type) { case int64, int, uint, uint64, int32, uint32, int16, uint16: result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 20 08:45:38 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
if (crudMode != expectedMode) { throwValidationError(messages -> { messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode)); }, this::asListHtml); } } private String getCsvEncoding() { return fessConfig.getCsvFileEncoding(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 18.3K bytes - Viewed (0)