- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for toInteger (0.06 sec)
-
src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java
public class IntegerConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToInteger() throws Exception { assertEquals(new Integer("1000"), IntegerConversionUtil.toInteger("1,000")); } /** * @throws Exception */ public void testToPrimitiveInt() throws Exception { assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000")); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
* @return {@literal type}に変換された{@link Number} */ public static Object convertNumber(final Class<?> type, final Object o) { if (type == Integer.class) { return IntegerConversionUtil.toInteger(o); } else if (type == BigDecimal.class) { return BigDecimalConversionUtil.toBigDecimal(o); } else if (type == Double.class) { return DoubleConversionUtil.toDouble(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/fess/es/config/bsbhv/BsFailureUrlBhv.java
try { final RESULT result = entityType.newInstance(); result.setConfigId(DfTypeUtil.toString(source.get("configId"))); result.setErrorCount(DfTypeUtil.toInteger(source.get("errorCount"))); result.setErrorLog(DfTypeUtil.toString(source.get("errorLog"))); result.setErrorName(DfTypeUtil.toString(source.get("errorName")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
return DfTypeUtil.toBigDecimal(get(propertyKey)); } @Override public Integer getAsInteger(String propertyKey) { return DfTypeUtil.toInteger(get(propertyKey)); } @Override public String getQueryDefaultQueryType() { return queryType; } }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsRoleTypeBhv.java
result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setName(DfTypeUtil.toString(source.get("name"))); result.setSortOrder(DfTypeUtil.toInteger(source.get("sortOrder"))); result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy"))); result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/bsbhv/BsClickLogBhv.java
result.setUrlId(DfTypeUtil.toString(source.get("urlId"))); result.setDocId(DfTypeUtil.toString(source.get("docId"))); result.setOrder(DfTypeUtil.toInteger(source.get("order"))); result.setQueryId(DfTypeUtil.toString(source.get("queryId"))); result.setQueryRequestedAt(toLocalDateTime(source.get("queryRequestedAt")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsKeyMatchBhv.java
result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setMaxSize(DfTypeUtil.toInteger(source.get("maxSize"))); result.setQuery(DfTypeUtil.toString(source.get("query"))); result.setTerm(DfTypeUtil.toString(source.get("term")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0)