Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Sets (0.13 sec)

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

        return CartesianSet.create(sets);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the sets. For example:
       *
       * <pre>{@code
       * Sets.cartesianProduct(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        Set<E> createElementSet() {
          return Sets.filter(unfiltered.elementSet(), predicate);
        }
    
        @Override
        Iterator<E> elementIterator() {
          throw new AssertionError("should never be called");
        }
    
        @Override
        Set<Entry<E>> createEntrySet() {
          return Sets.filter(
              unfiltered.entrySet(),
              new Predicate<Entry<E>>() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * of their natural ordering.
       */
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<>(Collections.reverseOrder());
      }
    
      /**
       * Returns a builder that creates immutable sorted sets whose elements are ordered by their
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.collect.Ordering;
    import com.google.common.collect.Range;
    import com.google.common.collect.RowSortedTable;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.Sets;
    import com.google.common.collect.SortedMultiset;
    import com.google.common.collect.Table;
    import com.google.common.collect.TreeBasedTable;
    import com.google.common.collect.TreeMultiset;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      /** All waiting threads. */
      @CheckForNull private volatile Waiter waiters;
    
      /** Constructor for use by subclasses. */
      protected AbstractFuture() {}
    
      // Gets and Timed Gets
      //
      // * Be responsive to interruption
      // * Don't create Waiter nodes if you aren't going to park, this helps reduce contention on the
      //   waiters field.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.collect.Ordering;
    import com.google.common.collect.Range;
    import com.google.common.collect.RowSortedTable;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.Sets;
    import com.google.common.collect.SortedMultiset;
    import com.google.common.collect.Table;
    import com.google.common.collect.TreeBasedTable;
    import com.google.common.collect.TreeMultiset;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          super.orderKeysBy(keyComparator);
          return this;
        }
    
        /**
         * Specifies the ordering of the generated multimap's values for each key.
         *
         * <p>If this method is called, the sets returned by the {@code get()} method of the generated
         * multimap and its {@link Multimap#asMap()} view are {@link ImmutableSortedSet} instances.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>Note: the multimap assumes complete ownership over of {@code map} and the sets returned by
       * {@code factory}. Those objects should not be manually updated and they should not use soft,
       * weak, or phantom references.
       *
       * @param map place to store the mapping from each key to its corresponding values
       * @param factory supplier of new, empty sets that will each hold all values for a given key
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableSet.class, ImmutableSet.of())
              .put(SortedSet.class, ImmutableSortedSet.of())
              .put(ImmutableSortedSet.class, ImmutableSortedSet.of())
              .put(NavigableSet.class, Sets.unmodifiableNavigableSet(Sets.newTreeSet()))
              .put(Map.class, ImmutableMap.of())
              .put(ImmutableMap.class, ImmutableMap.of())
              .put(SortedMap.class, ImmutableSortedMap.of())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableSet.class, ImmutableSet.of())
              .put(SortedSet.class, ImmutableSortedSet.of())
              .put(ImmutableSortedSet.class, ImmutableSortedSet.of())
              .put(NavigableSet.class, Sets.unmodifiableNavigableSet(Sets.newTreeSet()))
              .put(Map.class, ImmutableMap.of())
              .put(ImmutableMap.class, ImmutableMap.of())
              .put(SortedMap.class, ImmutableSortedMap.of())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top