Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for defined (0.16 sec)

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

       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
       *
    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)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      // 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.
      // * Future completion is defined by when #value becomes non-null/non SetFuture
      // * Future completion can be observed if the waiters field contains a TOMBSTONE
    
      // Timed Get
      // There are a few design constraints to consider
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

       * not even implement {@link Comparable} at all).
       *
       * <p><b>Warning:</b> by definition, this comparator is not <i>consistent with equals</i> (as
       * defined {@linkplain Comparator here}). Avoid its use in APIs, such as {@link
       * TreeSet#TreeSet(Comparator)}, where such consistency is expected.
       *
       * <p>The returned comparator is serializable.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

       * {@code [1]} and {@code [1, 1]}).
       */
      // Note: 90% of the time we don't add type parameters or wildcards that serve only to "tweak" the
      // desired return type. However, *nested* generics introduce a special class of problems that we
      // think tip it over into being worthwhile.
      public static <T extends @Nullable Object, S extends T> Comparator<Iterable<S>> lexicographical(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Note:</b> if {@code iterable} is a {@link List}, use {@link Lists#partition(List, int)}
       * instead.
       *
       * @param iterable the iterable to return a partitioned view of
       * @param size the desired size of each partition (the last may be smaller)
       * @return an iterable of unmodifiable lists containing the elements of {@code iterable} divided
       *     into partitions
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       * iterator's own {@code remove} operation, or through the {@code setValue} operation on a map
       * entry returned by the iterator), the results of the iteration are undefined.
       *
       * <p>The multimap supports mapping removal, which removes the corresponding mapping from the map.
       * It does not support any operations which might add mappings, such as {@code put}, {@code
    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)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.7;
    
      // If the set has this many elements, it will "max out" the table size
      private static final int CUTOFF = (int) (MAX_TABLE_SIZE * DESIRED_LOAD_FACTOR);
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultiset.java

          return this;
        }
    
        /**
         * Adds or removes the necessary occurrences of an element such that the element attains the
         * desired count.
         *
         * @param element the element to add or remove occurrences of
         * @param count the desired count of the element in this multiset
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        }
        // Using buildKeepingLast() so as not to fail on duplicate keys
        return builder.buildKeepingLast();
      }
    
      /**
       * Returns a map with the given {@code values}, indexed by keys derived from those values. In
       * other words, each input value produces an entry in the map whose key is the result of applying
       * {@code keyFunction} to that value. These entries appear in the same order as the input values.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top