io.polaris.core.map.FluentMap Maven / Gradle / Ivy
package io.polaris.core.map;
import java.util.Map;
import java.util.function.Consumer;
/**
* @author Qt
* @since 1.8
*/
public class FluentMap {
private final Map map;
public FluentMap(Map map) {
this.map = map;
}
public static FluentMap of(Map map) {
return new FluentMap<>(map);
}
public Map get() {
return map;
}
public FluentMap visit(Consumer