Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for TestMapGenerator (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
      K[] createKeyArray(int length);
    
      V[] createValueArray(int length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
      K[] createKeyArray(int length);
    
      V[] createValueArray(int length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

     */
    @GwtIncompatible
    public class MapTestSuiteBuilder<K, V>
        extends PerCollectionSizeTestSuiteBuilder<
            MapTestSuiteBuilder<K, V>, TestMapGenerator<K, V>, Map<K, V>, Entry<K, V>> {
      public static <K, V> MapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        return new MapTestSuiteBuilder<K, V>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with maps of strings.
     *
     * @author Chris Povirk
     * @author Jared Levy
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringMapGenerator implements TestMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with maps of strings.
     *
     * @author Chris Povirk
     * @author Jared Levy
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringMapGenerator implements TestMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

     */
    @GwtIncompatible
    public class MapTestSuiteBuilder<K, V>
        extends PerCollectionSizeTestSuiteBuilder<
            MapTestSuiteBuilder<K, V>, TestMapGenerator<K, V>, Map<K, V>, Entry<K, V>> {
      public static <K, V> MapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        return new MapTestSuiteBuilder<K, V>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with enum maps.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestEnumMapGenerator implements TestMapGenerator<AnEnum, String> {
    
      @Override
      public SampleElements<Entry<AnEnum, String>> samples() {
        return new SampleElements<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

      static class ForwardingTestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
          implements TestMapGenerator<K, V> {
        TestMapGenerator<K, V> delegate;
    
        ForwardingTestMapGenerator(TestMapGenerator<K, V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with enum maps.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestEnumMapGenerator implements TestMapGenerator<AnEnum, String> {
    
      @Override
      public SampleElements<Entry<AnEnum, String>> samples() {
        return new SampleElements<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

    import com.google.common.collect.testing.SafeTreeMap;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.SortedMapTestSuiteBuilder;
    import com.google.common.collect.testing.TestMapGenerator;
    import com.google.common.collect.testing.TestStringMapGenerator;
    import com.google.common.collect.testing.TestStringSortedMapGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
Back to Top