Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for getAsLong (0.05 seconds)

  1. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

            }
    
            public String getTimeAdjustTimeMillis() {
                return get(FessEnv.TIME_ADJUST_TIME_MILLIS);
            }
    
            public Long getTimeAdjustTimeMillisAsLong() {
                return getAsLong(FessEnv.TIME_ADJUST_TIME_MILLIS);
            }
    
            public String getMailSendMock() {
                return get(FessEnv.MAIL_SEND_MOCK);
            }
    
            public boolean isMailSendMock() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                    } catch (NumberFormatException e) {
                        return null;
                    }
                }
    
                @Override
                public Long getAsLong(String propertyKey) {
                    String value = get(propertyKey);
                    if (value == null) {
                        return null;
                    }
                    try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

         * @param key The key of the setting.
         * @param defaultValue The default value if the setting is not found.
         * @return The setting value as a long.
         */
        public long getAsLong(final String key, final long defaultValue) {
            return getAs(key, defaultValue, Long::parseLong);
        }
    
        /**
         * Retrieves a setting value as a float.
         * @param key The key of the setting.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

        }
    
        @Test
        public void test_setAndGetAsLong() {
            String key = "key";
            long value = Long.MAX_VALUE;
            settings.set(key, value);
            assertEquals(value, settings.getAsLong(key, -1));
        }
    
        @Test
        public void test_setAndGetAsFloat() {
            String key = "key";
            float value = 0.01F;
            settings.set(key, value);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/lang/SystemUtil.java

        /**
         * Returns the current time in milliseconds.
         *
         * @return the current time in milliseconds
         */
        public static long currentTimeMillis() {
            return timeProvider.getAsLong();
        }
    
        /**
         * Sets a custom time provider. Useful for testing.
         *
         * @param provider the time provider, or null to reset to default
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Streams.java

      @Beta
      @InlineMe(replacement = "optional.stream()")
      @InlineMeValidationDisabled("Java 9+ API only")
      public static LongStream stream(OptionalLong optional) {
        return optional.isPresent() ? LongStream.of(optional.getAsLong()) : LongStream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Streams.java

      @Beta
      @InlineMe(replacement = "optional.stream()")
      @InlineMeValidationDisabled("Java 9+ API only")
      public static LongStream stream(OptionalLong optional) {
        return optional.isPresent() ? LongStream.of(optional.getAsLong()) : LongStream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
Back to Top