Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 746 for IsEmpty (0.05 sec)

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

          }
        }
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public final boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public final boolean containsKey(@Nullable Object key) {
        return Maps.safeContainsKey(delegate, key);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
                return toShort(o.toString());
            }
        }
    
        private static Short toShort(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Short.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts to {@literal short}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_clear() {
        getMultiset().entrySet().clear();
        assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySet_iteratorRemovePropagates() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
      public void testSingletonMapPollFirst() {
        assertEquals(a, navigableMap.pollFirstEntry());
        assertTrue(navigableMap.isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapNearby() {
        assertNull(navigableMap.lowerEntry(k0()));
        assertNull(navigableMap.lowerKey(k0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
      public void testSingletonSetPollFirst() {
        assertEquals(a, navigableSet.pollFirst());
        assertTrue(navigableSet.isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetNearby() {
        assertNull(navigableSet.lower(e0()));
        assertEquals(a, navigableSet.floor(e0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
      public void testSingletonMapPollFirst() {
        assertEquals(a, navigableMap.pollFirstEntry());
        assertTrue(navigableMap.isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapNearby() {
        assertNull(navigableMap.lowerEntry(k0()));
        assertNull(navigableMap.lowerKey(k0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            // Then - Verify no exceptions occurred
            if (!exceptions.isEmpty()) {
                fail("Concurrent operations caused exceptions: " + exceptions.get(0));
            }
    
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
      static void assertEmpty(Multimap<?, ?> multimap) {
        if (!multimap.isEmpty()) {
          fail("Not true that " + multimap + " is empty");
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 23 04:28:13 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

                return ((Boolean) o) ? (byte) 1 : (byte) 0;
            } else {
                return toByte(o.toString());
            }
        }
    
        private static Byte toByte(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Byte.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts to {@literal byte}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

         *         matched the requested range
         */
        @Nonnull
        default Optional<Version> getLowestVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(0));
        }
    
        /**
         * Gets the highest version matching the requested range.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top