Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 526 for Collections2 (0.26 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

    import static java.util.Collections.sort;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Collections2;
    import com.google.common.collect.ImmutableCollection;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

    import static java.util.Collections.sort;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Collections2;
    import com.google.common.collect.ImmutableCollection;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 43.6K 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 18:35:28 UTC 2025
    - 43.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

        public Map<C, V> row(@ParametricNullness R rowKey) {
          return Collections.unmodifiableMap(super.row(rowKey));
        }
    
        @Override
        public Set<R> rowKeySet() {
          return Collections.unmodifiableSet(super.rowKeySet());
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          return unmodifiableMap(Maps.transformValues(super.rowMap(), Collections::unmodifiableMap));
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. 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);
        }
      }
    
      private static class MapDifferenceImpl<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  8. 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);
        }
      }
    
      private static class MapDifferenceImpl<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * elements.
     *
     * <p>The collections created by {@link #createCollection()} may or may not allow duplicates. If the
     * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will
     * replace an existing pair with the same key and value, if such a pair is present. With collections
     * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Lists.java

       * list is threadsafe if the supplied list and function are.
       *
       * <p>If only a {@code Collection} or {@code Iterable} input is available, use {@link
       * Collections2#transform} or {@link Iterables#transform}.
       *
       * <p><b>Note:</b> serializing the returned list is implemented by serializing {@code fromList},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
Back to top