Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for setFirst (0.16 sec)

  1. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. 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()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals("foo", Iterables.getFirst(iterable, "bar"));
      }
    
      public void testGetFirst_withDefault_empty() {
        Iterable<String> iterable = emptyList();
        assertEquals("bar", Iterables.getFirst(iterable, "bar"));
      }
    
      public void testGetFirst_withDefault_empty_null() {
        Iterable<String> iterable = emptyList();
        assertNull(Iterables.<@Nullable String>getFirst(iterable, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  4. 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;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                jspItems.add(new Pair<>(":" + p.getFirst(), "/" + p.getSecond()));
            }
            for (String key : ComponentUtil.getVirtualHostHelper().getVirtualHostPaths()) {
                if (StringUtil.isBlank(key)) {
                    key = "/";
                }
                for (final Pair<String, String> p : systemHelper.getDesignJspFileNames()) {
                    jspItems.add(new Pair<>(key + ":" + p.getFirst(), key + "/" + p.getSecond()));
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals("foo", Iterables.getFirst(iterable, "bar"));
      }
    
      public void testGetFirst_withDefault_empty() {
        Iterable<String> iterable = emptyList();
        assertEquals("bar", Iterables.getFirst(iterable, "bar"));
      }
    
      public void testGetFirst_withDefault_empty_null() {
        Iterable<String> iterable = emptyList();
        assertNull(Iterables.<@Nullable String>getFirst(iterable, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  7. README.md

    Set<String> caseInsensitiveSet = new CaseInsensitiveSet<>();
    
    // Java 21 Sequenced Collections support
    SequencedCollection<String> sequenced = CollectionsUtil.newLinkedHashSet();
    String first = CollectionsUtil.getFirst(sequenced);
    String last = CollectionsUtil.getLast(sequenced);
    SequencedCollection<String> reversed = CollectionsUtil.reversed(sequenced);
    
    // Specialized collections
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                protected Map<String, String> getConfigPrameterMap(final ResponseData responseData, final ConfigName config) {
                    return Map.of();
                }
            }.getChildUrlRules(null, null).map(v -> v.getFirst() + ":" + v.getSecond()).collect(Collectors.joining(",")));
            assertEquals("//A:href", new FessXpathTransformer() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/QueryCommand.java

                }
            })));
            getQueryFieldConfig().additionalDefaultList.stream().forEach(f -> {
                final QueryBuilder query = builder.apply(f.getFirst(), f.getSecond());
                defaultQuery.add(query);
            });
            return defaultQuery;
        }
    
        /**
         * Creates a default query builder based on the configured query type.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
Back to top