Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 1,163 for useEmpty (0.05 seconds)

  1. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                assertNull(exceptions[i], "Thread " + i + " threw exception");
                assertEquals("Thread " + i + " should iterate over all URLs", 50, counts[i][0]);
            }
        }
    
        /**
         * Test isEmpty() check on deleteUrlList with concurrent access.
         * This simulates the check in commit() method.
         */
        @Test
        public void test_deleteUrlList_isEmptyCheck() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      public int size() {
        return map.size();
      }
    
      /** Returns {@code true} if this map contains no key-value mappings. */
      public boolean isEmpty() {
        return map.isEmpty();
      }
    
      /**
       * Removes all of the mappings from this map. The map will be empty after this call returns.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 13:21:19 GMT 2025
    - 14K bytes
    - Click Count (0)
  3. 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)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       */
      @CanIgnoreReturnValue
      public @Nullable E pollLast() {
        return isEmpty() ? null : removeAndGet(getMaxElementIndex());
      }
    
      /**
       * Removes and returns the greatest element of this queue.
       *
       * @throws NoSuchElementException if the queue is empty
       */
      @CanIgnoreReturnValue
      public E removeLast() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                propMap.put(DEFAULT_SORT_VALUES, list);
            }
            return list.stream().map(p -> {
                final String key = p.getFirst();
                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Collections2.java

          this.function = checkNotNull(function);
        }
    
        @Override
        public void clear() {
          fromCollection.clear();
        }
    
        @Override
        public boolean isEmpty() {
          return fromCollection.isEmpty();
        }
    
        @Override
        public Iterator<T> iterator() {
          return Iterators.transform(fromCollection.iterator(), function);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

        MavenArtifact(String repositoryUrl, Resource resource) {
            if (repositoryUrl == null) {
                this.repositoryUrl = "";
            } else if (!repositoryUrl.endsWith("/") && !repositoryUrl.isEmpty()) {
                this.repositoryUrl = repositoryUrl + '/';
            } else {
                this.repositoryUrl = repositoryUrl;
            }
            this.resource = resource;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Lists.java

          fromList.subList(fromIndex, toIndex).clear();
        }
    
        @Override
        public int size() {
          return fromList.size();
        }
    
        @Override
        public boolean isEmpty() {
          return fromList.isEmpty();
        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          return new TransformedListIterator<F, T>(fromList.listIterator(index)) {
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperRunner.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    public class CIDetectorHelperRunner {
        public static void main(String[] args) {
            List<CIInfo> detect = CIDetectorHelper.detectCI();
            if (detect.isEmpty()) {
                System.out.print("NONE;");
            } else {
                detect.forEach(d -> System.out.print(d.name() + (d.isVerbose() ? "+VERBOSE" : "") + ";"));
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            .containsExactly("a", "in", "the", "over", "quick", "jumped")
            .inOrder();
        assertTrue(set.subSet("", "b").isEmpty());
        assertTrue(set.subSet("vermont", "california").isEmpty());
        assertTrue(set.subSet("aaa", "zzz").isEmpty());
        assertThrows(IllegalArgumentException.class, () -> set.subSet("quick", "the"));
      }
    
      public void testExplicit_first() {
        SortedSet<String> set =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
Back to Top