Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for setFirst (0.06 seconds)

  1. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                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 {
                    return null;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc4FormScheme.java

                        buf.append('&');
                        responseParams.stream().forEach(p -> {
                            try {
                                buf.append(URLEncoder.encode(p.getFirst(), encoding));
                                buf.append('=');
                                buf.append(URLEncoder.encode(p.getSecond(), encoding));
                            } catch (final UnsupportedEncodingException e) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

                        final Charset charset = encoding != null ? Charset.forName(encoding) : StandardCharsets.UTF_8;
                        responseParams.stream().forEach(p -> {
                            buf.append(URLEncoder.encode(p.getFirst(), charset));
                            buf.append('=');
                            buf.append(URLEncoder.encode(p.getSecond(), charset));
                        });
                    }
                }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.1K bytes
    - Click Count (0)
  6. 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)
  7. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            // With depth limit set to 2, depth 10 should return empty arrays
            Pair<String[], String[]> result = authenticator.getParentGroup(null, "test-id", 10);
            assertNotNull(result);
            assertEquals(0, result.getFirst().length);
            assertEquals(0, result.getSecond().length);
        }
    
        @Test
        public void test_getParentGroup_exactlyAtDepthLimit() {
            EntraIdAuthenticator authenticator = new EntraIdAuthenticator();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

            if (applicables.isEmpty()) {
                return null;
            }
    
            if (applicables.size() == 1) {
                return applicables.getFirst();
            }
    
            // This list will contain the maximally specific methods. Hopefully at
            // the end of the below loop, the list will contain exactly one method,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. 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)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                    }
                }
                throw new UnsupportedOperationException();
            }
    
            @Override
            void onEndHtmlElement(String name) {
                if (!tagStack.isEmpty() && tagStack.getFirst().equals(name)) {
                    tagStack.removeFirst();
                    handlerStack.removeFirst().onEndElement(name);
                }
            }
    
            @Override
            void onStartJavadocTag(String name) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
Back to Top