Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getAsLong (0.07 sec)

  1. 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);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            if (obj == null) {
                value = defaultValue;
            } else {
                value = Integer.parseInt(obj.toString());
            }
    
            return value;
        }
    
        public long getAsLong(final String key, final long defaultValue) {
            final Object obj = get(key);
    
            final long value;
            if (obj == null) {
                value = defaultValue;
            } else {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. 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() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. 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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. 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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top