Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 836 for IsEmpty (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root }
            if (matches.isEmpty()) {
                throw GradleException("Could not locate any matches for $notation")
            }
            matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testLineReading() throws IOException {
        File temp = createTempFile();
        assertNull(Files.readFirstLine(temp, UTF_8));
        assertTrue(Files.readLines(temp, UTF_8).isEmpty());
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top