Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for Pair (0.02 sec)

  1. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                    }
                }
                return query;
            }
    
            protected Pair<String, String> splitField(final String defaultField, final String field) {
                final int indexOf = field.indexOf(':');
                if (indexOf < 0) {
                    return new Pair<>(field, null);
                }
                final String indexField = indexOf == 0 ? defaultField : field.substring(0, indexOf);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                final Pair<String, Float> pair = new Pair<>();
                final String[] values = s.split(":");
                if (values.length == 1) {
                    pair.setFirst(values[0].trim());
                    pair.setSecond(1.0f);
                } else if (values.length > 1) {
                    pair.setFirst(values[0]);
                    pair.setSecond(Float.parseFloat(values[1]));
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        final String[] pair = s.split("=");
                        if (pair.length == 1) {
                            return new Pair<>(StringUtil.EMPTY, pair[0].trim());
                        }
                        if (pair.length == 2) {
                            return new Pair<>(pair[0].trim(), pair[1].trim());
                        }
                        return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        private List<Pair<String, String>> loadJspFileNameItems() {
            final List<Pair<String, String>> jspItems = new ArrayList<>();
            for (final Pair<String, String> p : systemHelper.getDesignJspFileNames()) {
                jspItems.add(new Pair<>(":" + p.getFirst(), "/" + p.getSecond()));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/MoreObjects.java

          omitEmptyValues = true;
          return this;
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format. If {@code value}
         * is {@code null}, the string {@code "null"} is used, unless {@link #omitNullValues()} is
         * called, in which case this name/value pair will not be added.
         */
        @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractSetMultimap.java

        return super.asMap();
      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
       *     multimap already contained the key-value pair
       */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

        return super.asMap();
      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
       *     multimap already contained the key-value pair
       */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/go/types/66626.md

    All `go/types` data structures that expose sequences using a pair of
    methods such as `Len() int` and `At(int) T` now also methods that
    return iterators, allowing you to simplify code such as this:
    
    ```go
    params := fn.Type.(*types.Signature).Params()
    for i := 0; i < params.Len(); i++ {
       use(params.At(i))
    }
    ```
    
    to this:
    
    ```go
    for param := range fn.Signature().Params().Variables() {
       use(param)
    }
    ```
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jul 31 22:54:09 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
                        appendJson("search-field", searchFieldMap, buf).append(',');
                        final Map<String, List<String>> requestHeaderMap = entity.getRequestHeaderList().stream()
                                .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top