Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 252 for Implementation (0.14 sec)

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

              .build();
    
      /**
       * type → implementation. Inherently mutable interfaces and abstract classes are mapped to their
       * default implementations and are "new"d upon get().
       */
      private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
    
      private static <T> void setImplementation(Class<T> type, Class<? extends T> implementation) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K 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/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)
  5. 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)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      /**
       * Prevents the given methods from being run as part of the test suite.
       *
       * <p>Note: in principle this should never need to be used, but it might be useful if the
       * semantics of an implementation disagree in unforeseen ways with the semantics expected by a
       * test, or to keep dependent builds clean in spite of an erroneous test.
       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Serialized type for all ImmutableSortedMap instances. It captures the logical contents and they
       * are reconstructed using public factory methods. This ensures that the implementation types
       * remain as implementation details.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> {
        private final Comparator<? super K> comparator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

    import java.io.Writer;
    import java.nio.CharBuffer;
    import java.util.Arrays;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@link SourceSinkFactory} implementations.
     *
     * @author Colin Decker
     */
    public class SourceSinkFactories {
    
      private SourceSinkFactories() {}
    
      public static CharSourceFactory stringCharSourceFactory() {
        return new StringSourceFactory();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top