Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 693 for IsEmpty (0.43 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java

        return delegate.containsAll(targets);
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public Object[] toArray() {
        return delegate.toArray();
      }
    
      @Override
      public <T extends @Nullable Object> T[] toArray(T[] other) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object one = new Object();
        assertSame(one, cache.getUnchecked(one));
        assertTrue(segment.recencyQueue.isEmpty());
        assertSame(one, map.get(one));
        assertSame(one, segment.recencyQueue.peek().getKey());
        assertSame(one, cache.getUnchecked(one));
        assertFalse(segment.recencyQueue.isEmpty());
      }
    
      public void testRecursiveComputation() throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Map map = project1.getArtifactMap();
    
            assertNotNull(map, "No artifacts");
            assertFalse(map.isEmpty(), "No Artifacts");
            assertTrue(map.size() == 2, "Set size should be 2, is " + map.size());
    
            assertTrue(map.containsKey("maven-test:t09-a"), "maven-test:t09-a is not in the project");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

       * chars are actually available for reading. This means that a source may return {@code true} from
       * {@code isEmpty()} despite having readable content.
       *
       * @throws IOException if an I/O error occurs
       * @since 15.0
       */
      public boolean isEmpty() throws IOException {
        Optional<Long> lengthIfKnown = lengthIfKnown();
        if (lengthIfKnown.isPresent()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSource.java

       * chars are actually available for reading. This means that a source may return {@code true} from
       * {@code isEmpty()} despite having readable content.
       *
       * @throws IOException if an I/O error occurs
       * @since 15.0
       */
      public boolean isEmpty() throws IOException {
        Optional<Long> lengthIfKnown = lengthIfKnown();
        if (lengthIfKnown.isPresent()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        entryIterator.next();
        entryIterator.remove();
        assertFalse(underlying.containsKey("g"));
    
        assertTrue(underlying.isEmpty());
        assertTrue(map.isEmpty());
        assertTrue(keys.isEmpty());
        assertTrue(values.isEmpty());
        assertTrue(entries.isEmpty());
      }
    
      public void testTransformEquals() {
        Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FilteredEntryMultimap.java

          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        set.clear();
        assertTrue(set.isEmpty());
        assertEquals(singleton("foo"), sortedTable.rowKeySet());
      }
    
      public void testRowKeySetTailSet() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Set<String> set = sortedTable.rowKeySet().tailSet("cat");
        assertEquals(singleton("foo"), set);
        set.clear();
        assertTrue(set.isEmpty());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

            .toList()
            .map { it.toByteString().hex() }
    
        if (platform.isConscrypt()) {
          if (tlsVersion == TlsVersion.TLS_1_3) {
            assertThat(sessionIds[0]).isEmpty()
            assertThat(sessionIds[1]).isEmpty()
    
            // https://github.com/google/conscrypt/issues/985
            // assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[0], sessionIds[1])
          } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

            assertEquals("", fieldsStr);
            String[] fields = fieldsStr.isEmpty() ? new String[0] : fieldsStr.split(",");
            assertEquals(0, fields.length);
        }
    
        public void test_indexAdminFloatFields() {
            String fieldsStr = fessConfig.getIndexAdminFloatFields();
            assertEquals("", fieldsStr);
            String[] fields = fieldsStr.isEmpty() ? new String[0] : fieldsStr.split(",");
            assertEquals(0, fields.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
Back to top