
com.github.chaosfirebolt.converter.api.initialization.NoOpMapData Maven / Gradle / Ivy
package com.github.chaosfirebolt.converter.api.initialization;
import java.util.Map;
/**
* No op implementation, returning empty map.
*
* @param type of map key
* @param type of map value
*/
public class NoOpMapData extends BaseInitializationData> {
/**
* Constructs new instance, with predefined input source and transformation to match no operation.
*/
public NoOpMapData() {
super(() -> null, input -> Map.of());
}
@Override
protected void doCleanup(Void input, Map output) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy