Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for TestMapGenerator (0.28 sec)

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

    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java

    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with maps of strings.
     *
     * @author Chris Povirk
     * @author Jared Levy
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringMapGenerator implements TestMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with maps of strings.
     *
     * @author Chris Povirk
     * @author Jared Levy
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringMapGenerator implements TestMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class ConcurrentMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> ConcurrentMapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        ConcurrentMapTestSuiteBuilder<K, V> result = new ConcurrentMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestMapGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with enum maps.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestEnumMapGenerator implements TestMapGenerator<AnEnum, String> {
    
      @Override
      public SampleElements<Entry<AnEnum, String>> samples() {
        return new SampleElements<>(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top