Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,161 for IsEmpty (0.07 seconds)

  1. guava/src/com/google/common/base/Strings.java

      }
    
      /**
       * Returns {@code true} if the given string is null or is the empty string.
       *
       * <p>Consider normalizing your string references with {@link #nullToEmpty}. If you do, you can
       * use {@link String#isEmpty()} instead of this method, and you won't need special null-safe forms
       * of methods like {@link String#toUpperCase} either. Or, if you'd like to normalize "in the other
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

          return new KeyIterator();
        }
    
        @Override
        public int size() {
          return MapMakerInternalMap.this.size();
        }
    
        @Override
        public boolean isEmpty() {
          return MapMakerInternalMap.this.isEmpty();
        }
    
        @Override
        public boolean contains(Object o) {
          return MapMakerInternalMap.this.containsKey(o);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(higherEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return isEmpty() ? null : entrySet().asList().get(0);
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return isEmpty() ? null : entrySet().asList().get(size() - 1);
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        return new EntrySet();
      }
    
      @Override
      int distinctElements() {
        return countMap.size();
      }
    
      @Override
      public boolean isEmpty() {
        return countMap.isEmpty();
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        // AbstractIterator makes this fairly clean, but it doesn't support remove(). To support
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

                    }
                    break;
                case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_IP_CHANGE:
                    if (message.getIpAddresses() != null && !message.getIpAddresses().isEmpty()) {
                        notification.setNewNodeAddress(message.getIpAddresses().get(0));
                    }
                    break;
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            void shouldHavePredefinedPluginUpgrades() throws Exception {
                List<PluginUpgrade> upgrades = PluginUpgradeStrategy.getPluginUpgrades();
    
                assertFalse(upgrades.isEmpty(), "Should have predefined plugin upgrades");
    
                // Verify some expected plugins are included
                boolean hasCompilerPlugin =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         */
        private int checkHeaderComment(List<String> commentLines) {
            if (getHeader() == null && layout.isEmpty()) {
                // This is the first comment. Search for blank lines.
                int index = commentLines.size() - 1;
                while (index >= 0 && !commentLines.get(index).isEmpty()) {
                    index--;
                }
                setHeader(new ArrayList<String>(commentLines.subList(0, index + 1)));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

         */
        private int checkHeaderComment(List<String> commentLines) {
            if (getHeader() == null && layout.isEmpty()) {
                // This is the first comment. Search for blank lines.
                int index = commentLines.size() - 1;
                while (index >= 0 && !commentLines.get(index).isEmpty()) {
                    index--;
                }
                setHeader(new ArrayList<String>(commentLines.subList(0, index + 1)));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            // Test with empty environment
            Hashtable<String, String> emptyEnv = new Hashtable<>();
            LdapUser user = new LdapUser(emptyEnv, "user");
            assertTrue(user.getEnvironment().isEmpty());
        }
    
        @Test
        public void test_getPermissions_withoutLdapConfig() {
            // Test when baseDn or accountFilter is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = gradleProperty(JAVA_INSTALLATIONS_PATHS_PROPERTY)
    
    val Project.flakyTestStrategy: FlakyTestStrategy
        get() = gradleProperty(FLAKY_TEST).let {
            if (it.getOrElse("").isEmpty()) {
                return FlakyTestStrategy.INCLUDE
            } else {
                return FlakyTestStrategy.valueOf(it.get().toUpperCaseAsciiOnly())
            }
        }
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
Back to Top