Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 1,161 for IsEmpty (0.05 seconds)

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

       * SortedMultiset#contains}, {@link SortedMultiset#containsAll}, {@link SortedMultiset#count},
       * {@link SortedMultiset#firstEntry} {@link SortedMultiset#headMultiset}, {@link
       * SortedMultiset#isEmpty}, {@link SortedMultiset#lastEntry}, {@link SortedMultiset#subMultiset},
       * {@link SortedMultiset#tailMultiset}, the {@code size()} and {@code iterator()} methods of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          calledWith(array, s);
        }
    
        void check() {
          runTester();
          Object[] defaultArray = (Object[]) getDefaultParameterValue(0);
          assertThat(defaultArray).isEmpty();
        }
      }
    
      public void testObjectArrayDefaultValue() {
        new ObjectArrayDefaultValueChecker().check();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            assertNull(session.getUserId());
            assertNotNull(session.getCreatedAt());
            assertNotNull(session.getLastAccessedAt());
            assertNotNull(session.getMessages());
            assertTrue(session.getMessages().isEmpty());
        }
    
        @Test
        public void test_constructorWithUserId() {
            final ChatSession session = new ChatSession("user-123");
            assertNotNull(session.getSessionId());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          }
          return result;
        }
    
        @Override
        int distinctElements() {
          return countMap.size();
        }
    
        @Override
        public boolean isEmpty() {
          return countMap.isEmpty();
        }
    
        @Override
        Iterator<Entry<E>> entryIterator() {
          Iterator<Map.Entry<E, Integer>> backingIterator = countMap.entrySet().iterator();
          return new Iterator<Entry<E>>() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            }
    
            @Override
            public int size() {
                return parent.size();
            }
    
            @Override
            public boolean isEmpty() {
                return parent.isEmpty();
            }
    
            @Override
            public boolean contains(final Object o) {
                return parent.contains(o);
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Multimap.java

       */
      int size();
    
      /**
       * Returns {@code true} if this multimap contains no key-value pairs. Equivalent to {@code size()
       * == 0}, but can in some cases be more efficient.
       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
      boolean containsKey(@CompatibleWith("K") @Nullable Object key);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            if (session != null) {
                request.setRepositorySession(session.getRepositorySession());
                request.setSystemProperties(session.getSystemProperties());
                if (request.getUserProperties().isEmpty()) {
                    request.setUserProperties(session.getUserProperties());
                }
    
                MavenExecutionRequest req = session.getRequest();
                if (req != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Iterables.java

       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof Collection) {
          return ((Collection<?>) iterable).isEmpty();
        }
        return !iterable.iterator().hasNext();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            leaseManager.releaseAll();
    
            assertNull(leaseManager.getLease(key1));
            assertNull(leaseManager.getLease(key2));
            assertTrue(leaseManager.getAllLeases().isEmpty());
        }
    
        @Test
        @DisplayName("Should clean up expired leases")
        void testCleanupExpiredLeases() throws InterruptedException {
            String path = "/share/expired.txt";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

            assertThat(UnsignedLongs.toString(xLong, base)).isEqualTo(xValue.toString(base));
          }
        }
      }
    
      public void testJoin() {
        assertThat(UnsignedLongs.join(",")).isEmpty();
        assertThat(UnsignedLongs.join(",", 1)).isEqualTo("1");
        assertThat(UnsignedLongs.join(",", 1, 2)).isEqualTo("1,2");
        assertThat(UnsignedLongs.join(",", -1, Long.MIN_VALUE))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top