Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for now (0.17 sec)

  1. android/guava/src/com/google/common/base/Supplier.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/FunctionalExplained">the use of functional types</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Supplier} (or the
     * appropriate primitive specialization such as {@code IntSupplier}) instead whenever possible.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

     * {@code Iterable}. Except as noted, each method has a corresponding {@link Iterator}-based method
     * in the {@link Iterators} class.
     *
     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
     * for comparisons. This class is not being deprecated, but we gently encourage you to migrate to
     * streams.
    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)
  3. android/guava/src/com/google/common/collect/Ordering.java

     * well.
     *
     * <h3>Java 8+ users</h3>
     *
     * <p>If you are using Java 8+, this class is now obsolete. Most of its functionality is now
     * provided by {@link java.util.stream.Stream Stream} and by {@link Comparator} itself, and the rest
     * can now be found as static methods in our new {@link Comparators} class. See each method below
    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)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableSet} since 12.0)
     */
    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ImmutableSet<E>
    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)
  5. android/guava/src/com/google/common/collect/Sets.java

       * using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get
       * deterministic iteration behavior.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
    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)
  6. android/guava/src/com/google/common/collect/ImmutableMultiset.java

            contents = new ObjectCountLinkedHashMap<E>(contents);
            isLinkedHash = true;
            // to preserve insertion order through deletions, we have to switch to an actual linked
            // implementation at least for now, but this should be a super rare case
          } else if (buildInvoked) {
            contents = new ObjectCountHashMap<E>(contents);
            isLinkedHash = false;
          }
          buildInvoked = false;
    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)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        if (oldHead != Waiter.TOMBSTONE) {
          Waiter node = new Waiter();
          do {
            node.setNext(oldHead);
            if (ATOMIC_HELPER.casWaiters(this, oldHead, node)) {
              // we are on the stack, now wait for completion.
              while (true) {
                LockSupport.park(this);
                // Check interruption first, if we woke up due to interruption we need to honor that.
                if (Thread.interrupted()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> if {@code K} is an {@code enum} type, use {@link #newEnumMap} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashMap} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
    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)
  9. android/guava/src/com/google/common/base/Function.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
     * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top