Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,062 for removeIf (0.67 sec)

  1. android/guava/src/com/google/common/eventbus/Dispatcher.java

                while (nextEvent.subscribers.hasNext()) {
                  nextEvent.subscribers.next().dispatchEvent(nextEvent.event);
                }
              }
            } finally {
              dispatching.remove();
              queue.remove();
            }
          }
        }
    
        private static final class Event {
          private final Object event;
          private final Iterator<Subscriber> subscribers;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            entry.updateChild(childName, 1024L, 1000L, false, 0x20, 500L, 800L);
            assertTrue(entry.hasChild(childName));
    
            // Remove the child
            entry.removeChild(childName);
            assertFalse(entry.hasChild(childName));
            assertTrue(entry.hasChanges());
    
            // Remove non-existent child - should not change state
            entry.removeChild("nonexistent.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertThat(subset).containsExactly("b", "c", "d", "e").inOrder();
    
        assertTrue(subset.remove("c"));
        assertThat(elementSet).containsExactly("a", "b", "d", "e", "f").inOrder();
        assertThat(subset).containsExactly("b", "d", "e").inOrder();
        assertEquals(10, ms.size());
    
        assertFalse(subset.remove("a"));
        assertThat(elementSet).containsExactly("a", "b", "d", "e", "f").inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

     * Table} interface.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <h4>Guarantees</h4>
     *
     * <p>Each makes the following guarantees:
     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
     *       Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection
     *       is modified.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                if (newDoc.get(indexFieldLang) instanceof final List<?> langList) {
                    if (langList.contains("auto")) {
                        newDoc.remove(indexFieldLang);
                    }
                    languageHelper.updateDocument(newDoc);
                }
                return newDoc;
            }).toList();
            if (fessConfig.isThumbnailCrawlerEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/MapCacheTest.java

        assertThat(mapCache.put(fooReference1, "bar")).isNull();
        assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached
        assertThat(mapCache.remove(fooReference2)).isEqualTo("bar");
        assertThat(mapCache.get(fooReference1)).isNull();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

            addHeaderLenient(headers_, name, value.toString())
          }
    
        /** Removes all headers named [name], then adds a new header with the name and value. */
        public fun setHeader(
          name: String,
          value: Any,
        ): Builder =
          apply {
            removeHeader(name)
            addHeader(name, value)
          }
    
        /** Removes all headers named [name]. */
        public fun removeHeader(name: String): Builder =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

    import org.codelibs.fess.app.service.UserInfoService;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for purging old log entries from the system.
     * This job removes old crawling sessions, search logs, job logs, and user info logs
     * based on configured retention periods. It helps maintain system performance by
     * preventing log tables from growing too large.
     */
    public class PurgeLogJob {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        }
      }
    
      void expectRemoveZero(SortedMultiset<E> multiset, Entry<E> entry) {
        assertEquals(0, multiset.remove(entry.getElement(), entry.getCount()));
        assertFalse(multiset.remove(entry.getElement()));
        assertFalse(multiset.elementSet().remove(entry.getElement()));
      }
    
      void expectSetCountFailure(SortedMultiset<E> multiset, Entry<E> entry) {
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top