Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 378 for provides (0.2 sec)

  1. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of
     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

    import com.google.common.base.Function;
    import java.util.concurrent.Executor;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Predicate.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>The {@link Predicates} class provides common predicates and related utilities.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Predicate}</a>.
     *
     * @author Kevin Bourrillion
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractSortedMultiset.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link SortedMultiset} interface.
     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to
       * return to a caller, the code needs to a way to return {@code null} from a method that returns
       * "plain {@code T}." This API provides that.
       */
      @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"})
      // The warnings are legitimate. Each time we use this method, we document why.
      @ParametricNullness
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
      private static void assertReadsCorrectly(CharSequence charSequence) throws IOException {
        String expected = charSequence.toString();
    
        // read char by char
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    
      /**
       * Tests that the Java port of FarmHashFingerprint64 provides the same results on buffers up to
       * 800 bytes long as the C++ reference implementation.
       */
      public void testMultipleLengths() {
        int iterations = 800;
        byte[] buf = new byte[iterations * 4];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 15:56:47 GMT 2017
    - 6.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimap.java

     * Grover: [Cleveland, Cleveland]        // Two, non-consecutive terms, rep'ing NJ!
     * ...
     * }</pre>
     *
     * <h3>Views</h3>
     *
     * <p>Much of the power of the multimap API comes from the <i>view collections</i> it provides.
     * These always reflect the latest state of the multimap itself. When they support modification, the
     * changes are <i>write-through</i> (they automatically update the backing multimap). These view
     * collections are:
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Comparators.java

     * majority of usages of {@code Ordering} can be written using only built-in JDK APIs. This class is
     * intended to "fill the gap" and provide those features of {@code Ordering} not already provided by
     * the JDK.
     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Comparators {
      private Comparators() {}
    
    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)
  10. android/guava/src/com/google/common/collect/TopKSelector.java

     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
     * create the {@code TopKSelector} instance.
     *
     * <p>If your input data is available as an {@link Iterable} or {@link Iterator}, prefer {@link
     * Ordering#leastOf(Iterable, int)}, which provides the same implementation with an interface
     * tailored to that use case.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top