Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 654 for Collections2 (0.12 sec)

  1. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

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

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Predicate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Predicate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
      }
    
      public void testRemoveAt_exhaustive() {
        int size = reduceExponentIfGwt(8);
        List<Integer> expected = createOrderedList(size);
        for (Collection<Integer> perm : Collections2.permutations(expected)) {
          for (int i = 0; i < perm.size(); i++) {
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm);
            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
      }
    
      public void testRemoveAt_exhaustive() {
        int size = reduceExponentIfGwt(8);
        List<Integer> expected = createOrderedList(size);
        for (Collection<Integer> perm : Collections2.permutations(expected)) {
          for (int i = 0; i < perm.size(); i++) {
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm);
            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Collections2;
    import com.google.common.collect.ImmutableCollection;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ServiceManager.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Collections2;
    import com.google.common.collect.ImmutableCollection;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

        if (iterable1 instanceof Collection && iterable2 instanceof Collection) {
          Collection<?> collection1 = (Collection<?>) iterable1;
          Collection<?> collection2 = (Collection<?>) iterable2;
          if (collection1.size() != collection2.size()) {
            return false;
          }
        }
        return Iterators.elementsEqual(iterable1.iterator(), iterable2.iterator());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

          return Collections.unmodifiableMap(super.row(rowKey));
        }
    
        @Override
        public Set<R> rowKeySet() {
          return Collections.unmodifiableSet(super.rowKeySet());
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          Function<Map<C, V>, Map<C, V>> wrapper = unmodifiableWrapper();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          Map<K, ? extends V> map) {
        if (map instanceof SortedMap) {
          return Collections.unmodifiableSortedMap((SortedMap<K, ? extends V>) map);
        } else {
          return Collections.unmodifiableMap(map);
        }
      }
    
      static class MapDifferenceImpl<K extends @Nullable Object, V extends @Nullable Object>
          implements MapDifference<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top