Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 78 for containsAll (0.17 sec)

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

        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        values.removeAll(Lists.newArrayList(2));
        assertEquals(values.size(), mmHeap.size());
        assertTrue(values.containsAll(mmHeap));
        assertTrue(mmHeap.containsAll(values));
      }
    
      public void testIteratorInvalidatingIteratorRemove() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          return Maps.containsEntryImpl(delegate(), o);
        }
    
        @Override
        public boolean containsAll(Collection<?> c) {
          return standardContainsAll(c);
        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
          return standardRemoveAll(c);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          @Override
          public boolean contains(@CheckForNull Object object) {
            return object != null && Collections2.safeContains(delegate, object);
          }
    
          @Override
          public boolean containsAll(Collection<?> collection) {
            return standardContainsAll(collection);
          }
    
          @Override
          public boolean remove(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().contains(o);
          }
        }
    
        @Override
        public boolean containsAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().containsAll(c);
          }
        }
    
        @Override
        public boolean isEmpty() {
          synchronized (mutex) {
            return delegate().isEmpty();
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().contains(o);
          }
        }
    
        @Override
        public boolean containsAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().containsAll(c);
          }
        }
    
        @Override
        public boolean isEmpty() {
          synchronized (mutex) {
            return delegate().isEmpty();
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        private final ImmutableLongArray parent;
    
        private AsList(ImmutableLongArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, stream, forEach, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Long get(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

        private final ImmutableIntArray parent;
    
        private AsList(ImmutableIntArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, stream, forEach, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Integer get(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

            E e = (E) element;
            return predicate.apply(e);
          }
          return false;
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return containsAllImpl(this, collection);
        }
    
        @Override
        public boolean isEmpty() {
          return !Iterables.any(unfiltered, predicate);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Range.java

        return contains(input);
      }
    
      /**
       * Returns {@code true} if every element in {@code values} is {@linkplain #contains contained} in
       * this range.
       */
      public boolean containsAll(Iterable<? extends C> values) {
        if (Iterables.isEmpty(values)) {
          return true;
        }
    
        // this optimizes testing equality of two range-backed sets
        if (values instanceof SortedSet) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        private final ImmutableIntArray parent;
    
        private AsList(ImmutableIntArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, stream, forEach, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Integer get(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top