Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 683 for removeIf (0.42 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

      public void testRemove_empty() {
        assertThrows(NoSuchElementException.class, () -> getQueue().remove());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
      public void testRemove_size1() {
        assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #remove()
        try {
          multimap.remove(sampleKey, sampleValue);
          fail("remove succeeded on unmodifiable multimap");
        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/QueryResponseList.java

            return parent.listIterator(index);
        }
    
        @Override
        public Map<String, Object> remove(final int index) {
            return parent.remove(index);
        }
    
        @Override
        public boolean remove(final Object o) {
            return parent.remove(o);
        }
    
        @Override
        public boolean removeAll(final Collection<?> c) {
            return parent.removeAll(c);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ComputationException.java

     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ComputationException.java

     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            assertThat(map.remove("1"), is("test"));
            assertThat(map.size(), is(2));
            assertThat(map.remove("dummy"), is(nullValue()));
            assertThat(map.remove(0), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove2() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. maven-tests/mvnw.cmd

    $TMP_DOWNLOAD_DIR = New-Item -Itemtype Directory -Path "$TMP_DOWNLOAD_DIR_HOLDER.dir"
    $TMP_DOWNLOAD_DIR_HOLDER.Delete() | Out-Null
    trap {
      if ($TMP_DOWNLOAD_DIR.Exists) {
        try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }
        catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" }
      }
    }
    
    New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null
    
    # Download and Install Apache Maven
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(asList("5", "2", "3", "4", "6"), toList);
        fromList.remove(Integer.valueOf(2));
        assertEquals(asList("5", "3", "4", "6"), toList);
        fromList.remove(2);
        assertEquals(asList("5", "3", "6"), toList);
    
        /* toList modifications reflected in fromList */
        toList.remove(2);
        assertEquals(asList(5, 3), fromList);
        toList.remove("5");
        assertEquals(asList(3), fromList);
        toList.clear();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

       */
      @GwtIncompatible
      @J2ktIncompatible
      @CanIgnoreReturnValue
      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      @Beta // TODO: b/288085449 - Remove @Beta after we're sure that Java 8 APIs are safe for Android
      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Job for purging expired documents from the search index.
     * This job removes documents that have passed their expiration time based on the expires field.
     * It helps maintain the search index by cleaning up outdated content automatically.
     */
    public class PurgeDocJob {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top