Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for toRemove (0.04 sec)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

            checkState(toRemove != null, "no calls to next() since the last call to remove()");
            size -= toRemove.getValue().getAndSet(0);
            backingEntries.remove();
            toRemove = null;
          }
        };
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        Iterator<Map.Entry<E, Count>> backingEntries = backingMap.entrySet().iterator();
        return new Iterator<Multiset.Entry<E>>() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

        }
    
        public void testRemove() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int toRemove = 0; toRemove < 10; toRemove++) {
              assertEquals(
                  contents.contains(toRemove) && EVEN.apply(toRemove),
                  filter(createUnfiltered(contents), EVEN).remove(toRemove));
            }
          }
        }
    
        public void testContains() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

              } finally {
                toRemove = nextOrNull;
                nextOrNull = forward().lowerEntry(nextOrNull.getKey());
              }
            }
    
            @Override
            public void remove() {
              if (toRemove == null) {
                throw new IllegalStateException("no calls to next() since the last call to remove()");
              }
              forward().remove(toRemove.getKey());
              toRemove = null;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingNavigableMap.java

              } finally {
                toRemove = nextOrNull;
                nextOrNull = forward().lowerEntry(nextOrNull.getKey());
              }
            }
    
            @Override
            public void remove() {
              if (toRemove == null) {
                throw new IllegalStateException("no calls to next() since the last call to remove()");
              }
              forward().remove(toRemove.getKey());
              toRemove = null;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

            List<Range<K>> toRemove = new ArrayList<>();
            for (Entry<Range<K>, V> entry : entrySet()) {
              if (predicate.apply(entry)) {
                toRemove.add(entry.getKey());
              }
            }
            for (Range<K> range : toRemove) {
              TreeRangeMap.this.remove(range);
            }
            return !toRemove.isEmpty();
          }
    
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeRangeMap.java

            List<Range<K>> toRemove = new ArrayList<>();
            for (Entry<Range<K>, V> entry : entrySet()) {
              if (predicate.apply(entry)) {
                toRemove.add(entry.getKey());
              }
            }
            for (Range<K> range : toRemove) {
              TreeRangeMap.this.remove(range);
            }
            return !toRemove.isEmpty();
          }
    
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                log.debug("Scheduling transport connection for removal " + trans + " (" + System.identityHashCode(trans) + ")");
            }
            this.toRemove.add((SmbTransportImpl) trans);
        }
    
        private void cleanup() {
            SmbTransportImpl trans;
            while ((trans = this.toRemove.poll()) != null) {
                if (log.isDebugEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top