Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 838 for useEmpty (0.1 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return super.size();
        }
    
        @Override
        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return super.isEmpty();
        }
    
        @Override
        public @Nullable V remove(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return super.remove(object);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            StringBuilder path = new StringBuilder(128);
    
            if (!metadata.getGroupId().isEmpty()) {
                path.append(metadata.getGroupId().replace('.', '/')).append('/');
    
                if (!metadata.getArtifactId().isEmpty()) {
                    path.append(metadata.getArtifactId()).append('/');
    
                    if (!metadata.getVersion().isEmpty()) {
                        path.append(metadata.getVersion()).append('/');
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            newInterfaces.keySet().removeAll(oldInterfaces.keySet())
    
            if (newInterfaces.isEmpty()) {
                return null
            }
    
            List<String> changes = filterChangesToReport(newClass, newInterfaces)
            if (changes.isEmpty()) {
                return null
            }
            return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

            }
            visitor.onEnd();
        }
    
        private void skipComment() {
            scanner.next(4);
            while (!scanner.isEmpty() && !scanner.lookingAt(END_HTML_COMMENT)) {
                scanner.next();
            }
            if (!scanner.isEmpty()) {
                scanner.next(3);
            }
        }
    
        private void parseHtmlEntity(StringBuilder buffer) {
            scanner.next();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/LruHashSet.java

        }
    
        /**
         * Returns true if this set contains no elements.
         *
         * @return true if this set contains no elements.
         */
        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
      public void testGetClassPathFromManifest_noClassPath() throws IOException {
        File jarFile = new File("base.jar");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty();
      }
    
      public void testGetClassPathFromManifest_emptyClassPath() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
      public void inEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactly(E12);
        // Edge direction handled correctly
        assertThat(network.inEdges(N1)).isEmpty();
      }
    
      @Test
      public void outEdges_oneEdge() {
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
      public void inEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactly(E12);
        // Edge direction handled correctly
        assertThat(network.inEdges(N1)).isEmpty();
      }
    
      @Test
      public void outEdges_oneEdge() {
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.tailSet(2, false)).containsExactly(3).inOrder();
        assertThat(set.tailSet(3, false)).isEmpty();
      }
    
      public void testTailSet_tooLarge() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty();
      }
    
      public void testSubSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.io.File
    import java.io.FileWriter
    import java.net.URI
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top