Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 838 for useEmpty (0.13 sec)

  1. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                List<String> ruleList =
                        Analysis.parseWordList(env, settings, USER_DICT_PATH_OPTION, USER_DICT_RULES_OPTION, s -> parse(s, dup));
                if (ruleList == null || ruleList.isEmpty()) {
                    return null;
                }
    
                StringBuilder sb = new StringBuilder();
                for (String line : ruleList) {
                    sb.append(line).append(System.lineSeparator());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                putResultDataBody(dataMap, key, target);
            }
        }
    
        default Object evaluateValue(final String scriptType, final String template, final Map<String, Object> paramMap) {
            if (StringUtil.isEmpty(template)) {
                return StringUtil.EMPTY;
            }
    
            return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(template, paramMap);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSourceTester.java

                return out;
              }
            });
        assertExpectedBytes(out.toByteArray());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.length == 0, source.isEmpty());
      }
    
      public void testSize() throws IOException {
        assertEquals(expected.length, source.size());
      }
    
      public void testSizeIfKnown() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                }
            }
    
            final CloseableHttpClient closeableHttpClient = httpClientBuilder.setDefaultRequestConfig(requestConfigBuilder.build()).build();
            if (!httpClientPropertyMap.isEmpty()) {
                final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(closeableHttpClient.getClass());
                for (final Map.Entry<String, Object> entry : httpClientPropertyMap.entrySet()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

        if (!parameters.isEmpty()) {
          builder.append("; ");
          Multimap<String, String> quotedParameters =
              Multimaps.transformValues(
                  parameters,
                  (String value) ->
                      (TOKEN_MATCHER.matchesAllOf(value) && !value.isEmpty())
                          ? value
                          : escapeAndQuote(value));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) ((List<?>) value).stream().filter(s -> s != null).map(Object::toString).toArray(n -> new String[n]);
                }
    
                if (((List<?>) value).isEmpty()) {
                    return null;
                }
    
                return convertObj(((List<?>) value).get(0), clazz);
            }
            if (value instanceof String[]) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

      }
    
      private fun RepositoryPlugin.deployClassPath() {
        val classpath = System.getProperty("java.class.path")
        val entries =
          classpath.split(File.pathSeparator.toRegex())
            .dropLastWhile { it.isEmpty() }
            .toTypedArray()
        for (classPathEntry in entries) {
          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
        assertEquals(mapEntry(k0(), v0()), iterator.next());
        iterator.remove();
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testEntriesRemainValidAfterRemove() {
        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CartesianList.java

        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
          axesBuilder.add(copy);
        }
        return new CartesianList<>(axesBuilder.build());
      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    incrementalVersion = null;
                    buildNumber = null;
                }
            }
        }
    
        private static boolean isDigits(String cs) {
            if (cs == null || cs.isEmpty()) {
                return false;
            }
            final int sz = cs.length();
            for (int i = 0; i < sz; i++) {
                if (!Character.isDigit(cs.charAt(i))) {
                    return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top