Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAsInt (0.04 sec)

  1. 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 an int.
         */
        public int getAsInt(final String key, final int defaultValue) {
            final Object obj = get(key);
    
            final int value;
            if (obj == null) {
                value = defaultValue;
            } else {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            /**
             * Constructs a new DefaultContentsAnalyzer.
             */
            public DefaultContentsAnalyzer() {
                // nothing
            }
    
            private final int maxContentLenth = settings.getAsInt(SuggestSettings.DefaultKeys.MAX_CONTENT_LENGTH, 50000);
    
            /**
             * Analyzes the given text.
             * @param text The text to analyze.
             * @param field The field name.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Streams.java

      @Beta
      @InlineMe(replacement = "optional.stream()")
      @InlineMeValidationDisabled("Java 9+ API only")
      public static IntStream stream(OptionalInt optional) {
        return optional.isPresent() ? IntStream.of(optional.getAsInt()) : IntStream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top