Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 252 for Implementation (0.12 sec)

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

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset which maintains the ordering of its elements, according to either their natural order
     * or an explicit {@link Comparator}. In all cases, this implementation uses {@link
     * Comparable#compareTo} or {@link Comparator#compare} instead of {@link Object#equals} to determine
     * equivalence of instances.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * its comparator (which might be the element that was just added). This is different from
     * conventional bounded queues, which either block or reject new elements when full.
     *
     * <p>This implementation is based on the <a
     * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
     * Unlike many other double-ended priority queues, it stores elements in a single array, as compact
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          super("Returned value '" + actual + "' not found. Remaining elements: " + expected);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Quasi-implementation of {@link ListIterator} that works from a list of elements and a set of
       * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

     *
     * @author Anthony Zana
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Uninterruptibles {
    
      // Implementation Note: As of 3-7-11, the logic for each blocking/timeout
      // methods is identical, save for method being invoked.
    
      /** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(-1, 1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      }
    
      /**
       * Creates a new {@code ConcurrentHashMultiset} containing the specified elements, using the
       * default initial capacity, load factor, and concurrency settings.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import static java.util.Arrays.asList;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known
     * bugs in OpenJDK 6 or higher.
     *
     * @author Kevin Bourrillion
     */
    // TODO(cpovirk): consider renaming this class in light of our now running it under newer JDKs.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

    import com.google.common.collect.testing.testers.ListAddAtIndexTester;
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.List;
    import junit.framework.Test;
    
    /**
     * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6ListTests extends TestsForListsInJavaUtil {
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import static java.util.Arrays.asList;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6SetTests extends TestsForSetsInJavaUtil {
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSink.java

     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned writer is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
     *       typically implemented by opening a writer using one of the methods in the first category,
     *       doing something and finally closing the writer that was opened.
     * </ul>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top