Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for Implementation (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    import java.util.Collections;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

    import com.google.common.annotations.GwtIncompatible;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a
     * ConcurrentNavigableMap implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class ConcurrentNavigableMapTestSuiteBuilder<K, V>
        extends NavigableMapTestSuiteBuilder<K, V> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An implementation of {@code Iterable} which throws an exception on all invocations of the {@link
     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue
     * implementation.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    public final class QueueTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<QueueTestSuiteBuilder<E>, E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public class SetTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<SetTestSuiteBuilder<E>, E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

    import java.util.NavigableSet;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet
     * implementation.
     */
    @GwtIncompatible
    public final class NavigableSetTestSuiteBuilder<E> extends SortedSetTestSuiteBuilder<E> {
      public static <E> NavigableSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        int size = getNumElements();
    
        assertThrows(
            NullPointerException.class, () -> multimap().putAll(k3(), Lists.newArrayList(null, v3())));
    
        /*
         * In principle, a Multimap implementation could add e3 first before failing on the null. But
         * that seems unlikely enough to be worth complicating the test over, especially if there's any
         * chance that a permissive test could mask a bug.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

    import com.google.common.util.concurrent.AbstractFutureBenchmarks.Impl;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.concurrent.Executor;
    
    /** Measures the size of AbstractFuture implementations. */
    public class AbstractFutureFootprintBenchmark {
    
      enum State {
        NOT_DONE,
        FINISHED,
        CANCELLED,
        FAILED
      }
    
      @Param State state;
      @Param Impl impl;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

    import java.util.HashMap;
    import java.util.Map;
    import java.util.function.BiConsumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of ImmutableMap backed by a JDK HashMap, which has smartness protecting against
     * hash flooding.
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * Tests {@link java.util.Map#entrySet}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the map implementation under test.
     * @param <V> The value type of the map implementation under test.
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top