Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 996 for useEmpty (0.06 seconds)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

         */
        public static final boolean isEmpty(final String text) {
            return text == null || text.length() == 0;
        }
    
        /**
         * Checks if the string is not empty.
         *
         * @param text the string to check
         * @return true if not empty, false otherwise
         */
        public static final boolean isNotEmpty(final String text) {
            return !isEmpty(text);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        redQueue.execute("task", 100.µs) {
          log += "run@${taskFaker.nanoTime}"
        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).isEmpty()
    
        redQueue.cancelAll()
    
        taskFaker.advanceUntil(99.µs)
        assertThat(log).isEmpty()
    
        taskFaker.assertNoMoreTasks()
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 scheduled after 100 µs: task",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 23K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertTrue(map.isEmpty());
        assertEquals(0, map.size());
        assertFalse(map.containsKey("1"));
        assertFalse(map.containsKey("2"));
        assertFalse(map.containsKey("3"));
        assertEquals(0L, map.get("1"));
        assertEquals(0L, map.get("2"));
        assertEquals(0L, map.get("3"));
    
        map.putAll(in);
        assertFalse(map.isEmpty());
        assertEquals(3, map.size());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    && profile.getDistributionManagement() == null
                    && profile.getModules().isEmpty()
                    && profile.getSubprojects().isEmpty()
                    && profile.getProperties().isEmpty()
                    && profile.getRepositories().isEmpty()
                    && profile.getPluginRepositories().isEmpty()
                    && profile.getReporting() == null;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
            assertThat(CollectionsUtil.isEmpty(c), is(true));
            c = new ArrayList<String>();
            assertThat(CollectionsUtil.isEmpty(c), is(true));
        }
    
        /**
         * Test method for
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", collection.isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", collection.isEmpty());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

            }
    
            buffer.append(":\n");
    
            for (ProjectBuildingResult result : results) {
                if (!result.getProblems().isEmpty()) {
                    String projectInfo = result.getProjectId();
                    if (projectInfo.trim().isEmpty()) {
                        projectInfo =
                                result.getPomFile() != null ? result.getPomFile().getName() : "unknown project";
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jul 26 19:15:57 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", collection.isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", collection.isEmpty());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top