io.polyapi.plugin.model.generation.KeyValuePair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polyapi-maven-plugin Show documentation
Show all versions of polyapi-maven-plugin Show documentation
Maven plugin to run handle Poly API functions.
package io.polyapi.plugin.model.generation;
import static io.polyapi.plugin.utils.StringUtils.toCamelCase;
import static java.lang.String.format;
public record KeyValuePair(K key, V value) {
@Override
public String toString() {
return format("%s %s", value.toString(), toCamelCase(key.toString()));
}
}