Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,574 for removeIf (0.06 seconds)

  1. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

          return false;
        }
    
        // Since views are returned, we need to copy the edges that will be removed.
        // Thus we avoid modifying the underlying view while iterating over it.
        for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
          removeEdge(edge);
        }
        nodeConnections.remove(node);
        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

        if (existingIndex != -1) {
          if (task.nextExecuteNanoTime <= executeNanoTime) {
            taskRunner.logger.taskLog(task, this) { "already scheduled" }
            return false
          }
          futureTasks.removeAt(existingIndex) // Already scheduled later: reschedule below!
        }
        task.nextExecuteNanoTime = executeNanoTime
        taskRunner.logger.taskLog(task, this) {
          if (recurrence) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          try {
            return super.remove(o);
          } catch (UnsupportedOperationException e) {
            for (Entry<K, V> entry : map().entrySet()) {
              if (Objects.equals(o, entry.getValue())) {
                map().remove(entry.getKey());
                return true;
              }
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            pendingOperations.add(operation);
        }
    
        /**
         * Remove a pending operation
         *
         * @param operation operation to remove
         * @return true if operation was removed
         */
        public boolean removePendingOperation(CommonServerMessageBlock operation) {
            return pendingOperations.remove(operation);
        }
    
        /**
         * Clear all pending operations
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          try {
            return super.remove(o);
          } catch (UnsupportedOperationException e) {
            for (Entry<K, V> entry : map().entrySet()) {
              if (Objects.equals(o, entry.getValue())) {
                map().remove(entry.getKey());
                return true;
              }
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        entry.setValue("two"); // changes the iterator's current entry value
        assertThat(map.get(1)).isEqualTo("two");
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/LocalCache.java

              entry.getHash(),
              entry.getValueReference().get(),
              entry.getValueReference().getWeight(),
              RemovalCause.COLLECTED);
          writeQueue.remove(entry);
          accessQueue.remove(entry);
        }
    
        /** Removes an entry whose key has been garbage collected. */
        @CanIgnoreReturnValue
        boolean reclaimKey(ReferenceEntry<K, V> entry, int hash) {
          lock();
          try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            if (!Objects.equals(omittedVersion, keptVersion)) {
                logger.debug(indent + omitted + " (removed - nearer found: " + keptVersion + ")");
            }
        }
    
        @Override
        public void omitForCycle(Artifact omitted) {
            logger.debug(indent + omitted + " (removed - causes a cycle in the graph)");
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        entry.setValue("two"); // changes the iterator's current entry value
        assertThat(map.get(1)).isEqualTo("two");
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

            }
        }
    
        /**
         * Stops the poll loop and removes the heartbeat document on shutdown.
         */
        @PreDestroy
        public void destroy() {
            if (pollTask != null) {
                pollTask.cancel();
            }
            try {
                removeHeartbeat();
            } catch (final Exception e) {
                logger.debug("Failed to remove heartbeat on shutdown.", e);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
Back to Top