Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for toRemove (0.15 sec)

  1. guava-tests/test/com/google/common/collect/MultisetsTest.java

        Multiset<String> multiset = HashMultiset.create();
        Iterable<String> toRemove = Arrays.asList("a", "b", "a");
        assertFalse(Multisets.removeOccurrences(multiset, toRemove));
        assertTrue(multiset.isEmpty());
      }
    
      public void testRemoveOccurrencesMultisetEmpty() {
        Multiset<String> multiset = HashMultiset.create();
        Multiset<String> toRemove = HashMultiset.create(Arrays.asList("a", "b", "a"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

            return result;
          }
    
          @Override
          public void remove() {
            checkState(toRemove != null, "no calls to next() since the last call to remove()");
            LinkedHashMultimap.this.remove(toRemove.getKey(), toRemove.getValue());
            toRemove = null;
          }
        };
      }
    
      @Override
      Iterator<V> valueIterator() {
        return Maps.valueIterator(entryIterator());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumMultiset.java

          }
          T result = output(index);
          toRemove = index;
          index++;
          return result;
        }
    
        @Override
        public void remove() {
          checkRemove(toRemove >= 0);
          if (counts[toRemove] > 0) {
            distinctElements--;
            size -= counts[toRemove];
            counts[toRemove] = 0;
          }
          toRemove = -1;
        }
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        Multiset<String> multiset = HashMultiset.create();
        Iterable<String> toRemove = Arrays.asList("a", "b", "a");
        assertFalse(Multisets.removeOccurrences(multiset, toRemove));
        assertTrue(multiset.isEmpty());
      }
    
      public void testRemoveOccurrencesMultisetEmpty() {
        Multiset<String> multiset = HashMultiset.create();
        Multiset<String> toRemove = HashMultiset.create(Arrays.asList("a", "b", "a"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. docs_src/generate_clients/tutorial004.js

              const tag = operation.tags[0]
              const operationId = operation.operationId
              const toRemove = `${tag}-`
              if (operationId.startsWith(toRemove)) {
                const newOperationId = operationId.substring(toRemove.length)
                operation.operationId = newOperationId
              }
            }
          }
        }
    
        await fs.promises.writeFile(
          filePath,
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 14 11:40:05 GMT 2024
    - 1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/EnumMultiset.java

          }
          T result = output(index);
          toRemove = index;
          index++;
          return result;
        }
    
        @Override
        public void remove() {
          checkRemove(toRemove >= 0);
          if (counts[toRemove] > 0) {
            distinctElements--;
            size -= counts[toRemove];
            counts[toRemove] = 0;
          }
          toRemove = -1;
        }
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeRangeMap.java

            List<Range<K>> toRemove = Lists.newArrayList();
            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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. cmd/api-response.go

    		m[xhttp.AmzServerSideEncryptionCustomerAlgorithm] = xhttp.AmzEncryptionAES
    
    	}
    
    	var toRemove []string
    	for k := range cleanMinioInternalMetadataKeys(m) {
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			// Do not need to send any internal metadata
    			// values to client.
    			toRemove = append(toRemove, k)
    			continue
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  9. android/guava/src/com/google/common/collect/Iterators.java

          if (hasNext()) {
            toRemove = iterator;
            return iterator.next();
          } else {
            throw new NoSuchElementException();
          }
        }
    
        @Override
        public void remove() {
          if (toRemove == null) {
            throw new IllegalStateException("no calls to next() since the last call to remove()");
          }
          toRemove.remove();
          toRemove = null;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Iterators.java

          if (hasNext()) {
            toRemove = iterator;
            return iterator.next();
          } else {
            throw new NoSuchElementException();
          }
        }
    
        @Override
        public void remove() {
          if (toRemove == null) {
            throw new IllegalStateException("no calls to next() since the last call to remove()");
          }
          toRemove.remove();
          toRemove = null;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
Back to top