io.hyperfoil.api.config.PairBuilder Maven / Gradle / Ivy
package io.hyperfoil.api.config;
import java.util.function.BiConsumer;
public interface PairBuilder extends BiConsumer {
Class valueType();
abstract class OfString implements PairBuilder {
@Override
public Class valueType() {
return String.class;
}
}
abstract class OfDouble implements PairBuilder {
@Override
public Class valueType() {
return double.class;
}
}
}