Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 97 for getFirst (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

                    value = value.replace("${" + entry.getKey() + "}", entry.getValue());
                }
                return new Pair<>(key, value);
            }).collect(Collectors.toMap(Pair<String, String>::getFirst, Pair<String, String>::getSecond));
            final Map<String, String> configScriptMap = config.getHandlerScriptMap();
    
            initParamMap.putAll(configParamMap);
            final DataStoreParams paramMap = initParamMap;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardFirstEntry() {
        return Iterables.<@Nullable Entry<K, V>>getFirst(entrySet(), null);
      }
    
      /**
       * A sensible definition of {@link #firstKey} in terms of {@code firstEntry}. If you override
       * {@code firstEntry}, you may wish to override {@code firstKey} to forward to this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        appendJson("search-field", searchFieldMap, buf).append(',');
                        final Map<String, List<String>> requestHeaderMap = entity.getRequestHeaderList()
                                .stream()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        }
                        return null;
                    }).filter(o -> o != null && keySet.add(o.getFirst())).collect(Collectors.toList()));
                }
                propMap.put(DEFAULT_SORT_VALUES, list);
            }
            return list.stream().map(p -> {
                final String key = p.getFirst();
                if (StringUtil.isEmpty(key) || userBean
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list),
       * consider using {@code collection.getFirst()} instead. Note that if the collection is empty,
       * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the
       * default value.
       *
       * @param defaultValue the default value to return if the iterable is empty
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * @since 12.0
       */
      @Override
      public @Nullable E ceiling(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, true), null);
      }
    
      /**
       * @since 12.0
       */
      @GwtIncompatible // NavigableSet
      @Override
      public @Nullable E higher(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, false), null);
      }
    
      @Override
      public E first() {
        return iterator().next();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list),
       * consider using {@code collection.getFirst()} instead. Note that if the collection is empty,
       * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the
       * default value.
       *
       * @param defaultValue the default value to return if the iterable is empty
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testGetFirst_withDefault_singleton() {
        Iterable<String> iterable = singletonList("foo");
        assertThat(Iterables.getFirst(iterable, "bar")).isEqualTo("foo");
      }
    
      public void testGetFirst_withDefault_empty() {
        Iterable<String> iterable = emptyList();
        assertThat(Iterables.getFirst(iterable, "bar")).isEqualTo("bar");
      }
    
      public void testGetFirst_withDefault_empty_null() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

                    pop();
                    inPara = true;
                }
            }
            stack.getFirst().appendChild(node);
            if (inPara) {
                Element para = document.createElement("para");
                push(para);
            }
        }
    
        public void push(Element element) {
            stack.getFirst().appendChild(element);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                this.visitor = visitor;
            }
    
            private void unwindTo(String element, TokenVisitor visitor) {
                if (elementStack.contains(element)) {
                    while (!elementStack.getFirst().equals(element)) {
                        visitor.onEndHtmlElement(elementStack.removeFirst());
                    }
                    elementStack.removeFirst();
                    visitor.onEndHtmlElement(element);
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.8K bytes
    - Click Count (0)
Back to Top