Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for setFirst (0.03 sec)

  1. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java

                        .stream()
                        .filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                final List<String> contentList = new ArrayList<>();
                final String content = pair.getFirst().get(toLowerCase(query));
                if (StringUtil.isNotBlank(content)) {
                    contentList.add(content);
                }
                for (final Pair<Pattern, String> regexData : pair.getSecond()) {
                    if (regexData.getFirst().matcher(query).matches()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/exbhv/UserBhv.java

                        .stream()
                        .filter(e -> isAttribute(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            assertEquals(2.0f, queryFieldConfig.additionalDefaultList.get(0).getSecond());
            assertEquals("field2", queryFieldConfig.additionalDefaultList.get(1).getFirst());
            assertEquals(1.5f, queryFieldConfig.additionalDefaultList.get(1).getSecond());
            assertEquals("field3", queryFieldConfig.additionalDefaultList.get(2).getFirst());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

                        .stream()
                        .filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. android/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.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  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