Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 719 for Remove (0.18 sec)

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

            return delegate().iterator();
          }
    
          @Override
          public int size() {
            return delegate().size();
          }
    
          @Override
          public boolean remove(Object o) {
            return delegate().remove(o);
          }
    
          @Override
          public void clear() {
            delegate().clear();
          }
        };
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

          return standardContains(object);
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          return standardRemoveAll(collection);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Arrays;
    import java.util.List;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

                        int size = elements.length;
                        // Remove last element, if size > 1
                        Set<String> set1 =
                            (size > 1)
                                ? Sets.newHashSet(Arrays.asList(elements).subList(0, size - 1))
                                : Sets.newHashSet(elements);
                        // Remove first element, if size > 0
                        Set<String> set2 =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          entrySet.remove(entryOf(2, 2));
          assertFalse(entrySet.remove(null));
          assertFalse(entrySet.remove(entryOf(1, 1)));
          assertFalse(entrySet.remove(entryOf(6, 6)));
          assertFalse(entrySet.removeAll(asList(null, entryOf(1, 1), entryOf(15, 15))));
          assertFalse(entrySet.retainAll(asList(null, entryOf(1, 1), entryOf(15, 15))));
          checkEmpty(entrySet);
          checkEmpty(cache);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        }
      }
    
      /**
       * Removes a number of occurrences of the specified element from this multiset. If the multiset
       * contains fewer than this number of occurrences to begin with, all occurrences will be removed.
       *
       * @param element the element whose occurrences should be removed
       * @param occurrences the number of occurrences of the element to remove
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          }
        }
    
        /**
         * Removes <b>all</b> occurrences of the specified element from this multiset. This method
         * complements {@link Multiset#remove(Object)}, which removes only one occurrence at a time.
         *
         * @param element the element whose occurrences should all be removed
         * @return the number of occurrences successfully removed, possibly zero
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

              nextEntry = entry.getSuccessorInValueSet();
              return result;
            }
    
            @Override
            public void remove() {
              checkForComodification();
              checkState(toRemove != null, "no calls to next() since the last call to remove()");
              ValueSet.this.remove(toRemove.getValue());
              expectedModCount = modCount;
              toRemove = null;
            }
          };
        }
    
    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)
  9. guava/src/com/google/common/collect/ForwardingSortedSet.java

          return false;
        }
      }
    
      /**
       * A sensible definition of {@link #remove} in terms of the {@code iterator()} method of {@link
       * #tailSet}. If you override {@link #tailSet}, you may wish to override {@link #remove} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

              current = null;
            } else {
              current = current.succ();
            }
            return result;
          }
    
          @Override
          public void remove() {
            checkState(prevEntry != null, "no calls to next() since the last call to remove()");
            setCount(prevEntry.getElement(), 0);
            prevEntry = null;
          }
        };
      }
    
      @Override
      Iterator<Entry<E>> descendingEntryIterator() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
Back to top