Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 836 for isEmpty (0.1 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

        MavenArtifact(String repositoryUrl, Resource resource) {
            if (repositoryUrl == null) {
                this.repositoryUrl = "";
            } else if (!repositoryUrl.endsWith("/") && !repositoryUrl.isEmpty()) {
                this.repositoryUrl = repositoryUrl + '/';
            } else {
                this.repositoryUrl = repositoryUrl;
            }
            this.resource = resource;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

        }
    
        private void adjustAccessorComment(DocCommentImpl docComment) {
            // Replace 'Returns the ...'/'Sets the ...' with 'The ...'
            List<Element> nodes = docComment.getDocbook();
            if (nodes.isEmpty()) {
                return;
            }
    
            Element firstNode = nodes.get(0);
            if (!firstNode.getNodeName().equals("para") || !(firstNode.getFirstChild() instanceof Text)) {
                return;
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      public void testOverriddenInSubclassNowhereAnnotated() {
        assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty();
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

              postponedRoutes += route
            } else {
              routes += route
            }
          }
    
          if (routes.isNotEmpty()) {
            break
          }
        }
    
        if (routes.isEmpty()) {
          // We've exhausted all Proxies so fallback to the postponed routes.
          routes += postponedRoutes
          postponedRoutes.clear()
        }
    
        return Selection(routes)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertNull(table.get(null, 1));
        assertNull(table.get(null, null));
      }
    
      public void testIsEmpty() {
        assertTrue(table.isEmpty());
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertFalse(table.isEmpty());
      }
    
      public void testSize() {
        assertSize(0);
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSize(3);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMultimap.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractMultimap<K extends @Nullable Object, V extends @Nullable Object>
        implements Multimap<K, V> {
      @Override
      public boolean isEmpty() {
        return size() == 0;
      }
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        for (Collection<V> collection : asMap().values()) {
          if (collection.contains(value)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/DisposableUtil.java

            disposables.remove(disposable);
        }
    
        /**
         * 登録済みのリソースを全て破棄します。
         */
        public static synchronized void dispose() {
            while (!disposables.isEmpty()) {
                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                } else {
                    unresolvedOptionalSelectors.add(selector);
                }
            }
    
            if (!unresolvedOptionalSelectors.isEmpty()) {
                LOGGER.info("The requested optional projects {} do not exist.", unresolvedOptionalSelectors);
            }
    
            return resolvedOptionalProjects;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        assertEquals(ImmutableMap.of("two", 2, "four", 4), filtered);
    
        filtered.clear();
        assertEquals(ImmutableMap.of("one", 1, "three", 3), unfiltered);
        assertTrue(filtered.isEmpty());
      }
    
      public void testFilteredEntriesIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 2);
        unfiltered.put("horse", 5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertNull(table.get(null, 1));
        assertNull(table.get(null, null));
      }
    
      public void testIsEmpty() {
        assertTrue(table.isEmpty());
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertFalse(table.isEmpty());
      }
    
      public void testSize() {
        assertSize(0);
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSize(3);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top