- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for parseLong (0.1 sec)
-
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
} else if (o instanceof String) { return toPrimitiveLong((String) o); } else if (o instanceof java.util.Date) { if (pattern != null) { return Long.parseLong(new SimpleDateFormat(pattern).format(o)); } return ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? 1 : 0; } else {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} final List<String> fields = SuggestUtil.getAsList(source.get(FieldNames.FIELDS)); final long docFreq = Long.parseLong(source.get(FieldNames.DOC_FREQ).toString()); final long queryFreq = Long.parseLong(source.get(FieldNames.QUERY_FREQ).toString()); final float userBoost = Float.parseFloat(source.get(FieldNames.USER_BOOST).toString());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
if (commandTimeoutStr != null) { commandTimeout = Long.parseLong(commandTimeoutStr); } final String commandDestroyTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.destroy.timeout"); if (commandDestroyTimeoutStr != null) { commandDestroyTimeout = Long.parseLong(commandDestroyTimeoutStr); } } @Override public void destroy() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
clickLog.setUrl(url); clickLog.setRequestedAt(systemHelper.getCurrentTimeAsLocalDateTime()); clickLog.setQueryRequestedAt(DfTypeUtil.toLocalDateTime(Long.parseLong(form.rt))); clickLog.setUserSessionId(userSessionId); clickLog.setDocId(form.docId); clickLog.setQueryId(form.queryId); if (form.order != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* * @throws NumberFormatException if the string does not contain a valid unsigned {@code long} * value * @throws NullPointerException if {@code string} is null (in contrast to {@link * Long#parseLong(String)}) */ @CanIgnoreReturnValue public static long parseUnsignedLong(String string) { return parseUnsignedLong(string, 10); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 21:04:48 UTC 2024 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class)); assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue()); assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue()); assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
final Object obj = get(key); final long value; if (obj == null) { value = defaultValue; } else { value = Long.parseLong(obj.toString()); } return value; } public float getAsFloat(final String key, final float defaultValue) { final Object obj = get(key); final float value;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FacetInfo.java
size = fessConfig.getQueryFacetFieldsSizeAsInteger(); } if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsMinDocCount())) { minDocCount = Long.parseLong(fessConfig.getQueryFacetFieldsMinDocCount()); } if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsSort())) { sort = fessConfig.getQueryFacetFieldsSort(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
long readInterval = 0; final String value = paramMap.getAsString("readInterval"); if (StringUtil.isNotBlank(value)) { try { readInterval = Long.parseLong(value); } catch (final NumberFormatException e) { logger.warn("Invalid read interval: {}", value); } } return readInterval; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K bytes - Viewed (0)