- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for getLongValue (0.06 seconds)
-
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
final long expiredTime = getLongValue(source, "expiredTime"); final String ownerInstanceId = getStringValue(source, "instanceId"); final long now = System.currentTimeMillis(); // Check if expired or owner is no longer active if (expiredTime < now || !isInstanceActive(ownerInstanceId)) { final long seqNo = getLongValue(result, "_seq_no");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java
/** * Method getLongValue. * * @param s a s object. * @param strict a strict object. * @param parser a parser object. * @param attribute a attribute object. * @throws XmlPullParserException XmlPullParserException if * any. * @return long */ private long getLongValue(String s, String attribute, XmlPullParser parser, boolean strict)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
final Map<String, Object> map = Map.of("time", 12345); assertEquals(12345L, coordinatorHelper.getLongValue(map, "time")); } @Test public void test_getLongValue_long() { final Map<String, Object> map = Map.of("time", 9876543210L); assertEquals(9876543210L, coordinatorHelper.getLongValue(map, "time")); } @Test public void test_getLongValue_double() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
final JsonToken token = jsonParser.getCurrentToken(); return switch (token) { case VALUE_STRING -> jsonParser.getText(); case VALUE_NUMBER_INT -> jsonParser.getLongValue(); case VALUE_NUMBER_FLOAT -> jsonParser.getDoubleValue(); case VALUE_TRUE -> true; case VALUE_FALSE -> false; case VALUE_NULL -> null;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Dec 14 01:18:25 GMT 2025 - 16.5K bytes - Click Count (0)