// Path: src/main/java/io/usethesource/capsule/util/collection/AbstractSpecialisedImmutableMap.java
// public static final <K, V> Map.Entry<K, V> entryOf(final K key, final V val) {
//   return new MapEntry<K, V>(key, val);
// }


import java.util.Map;
import com.pholser.junit.quickcheck.generator.ComponentizedGenerator;
import com.pholser.junit.quickcheck.generator.GenerationStatus;
import com.pholser.junit.quickcheck.random.SourceOfRandomness;
import static io.usethesource.capsule.util.collection.AbstractSpecialisedImmutableMap.entryOf;
/**
 * Copyright (c) Michael Steindorfer <Centrum Wiskunde & Informatica> and Contributors.
 * All rights reserved.
 *
 * This file is licensed under the BSD 2-Clause License, which accompanies this project
 * and is available under https://opensource.org/licenses/BSD-2-Clause.
 */
package io.usethesource.capsule.generators;




@SuppressWarnings({"rawtypes", "unchecked"})
public final class MapEntryGenerator<T extends Map.Entry>
    extends ComponentizedGenerator<T> {

  public MapEntryGenerator() {
    super((Class<T>) Map.Entry.class);
  }

  @Override
  public int numberOfNeededComponents() {
    return 2;
  }

// Path: src/main/java/io/usethesource/capsule/util/collection/AbstractSpecialisedImmutableMap.java
// public static final <K, V> Map.Entry<K, V> entryOf(final K key, final V val) {
//   return new MapEntry<K, V>(key, val);
// }


// Path: src/test/java/io/usethesource/capsule/generators/MapEntryGenerator.java
import java.util.Map;
import com.pholser.junit.quickcheck.generator.ComponentizedGenerator;
import com.pholser.junit.quickcheck.generator.GenerationStatus;
import com.pholser.junit.quickcheck.random.SourceOfRandomness;
import static io.usethesource.capsule.util.collection.AbstractSpecialisedImmutableMap.entryOf;

/**
 * Copyright (c) Michael Steindorfer <Centrum Wiskunde & Informatica> and Contributors.
 * All rights reserved.
 *
 * This file is licensed under the BSD 2-Clause License, which accompanies this project
 * and is available under https://opensource.org/licenses/BSD-2-Clause.
 */
package io.usethesource.capsule.generators;




@SuppressWarnings({"rawtypes", "unchecked"})
public final class MapEntryGenerator<T extends Map.Entry>
    extends ComponentizedGenerator<T> {

  public MapEntryGenerator() {
    super((Class<T>) Map.Entry.class);
  }

  @Override
  public int numberOfNeededComponents() {
    return 2;
  }

  @Override