All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bklab.flow.parameter.ParameterCrudView Maven / Gradle / Ivy

There is a newer version: 22.0.1
Show newest version
package org.bklab.flow.parameter;

import org.bklab.flow.layout.tab.FluentTabView;

import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;

public abstract class ParameterCrudView extends FluentTabView {

    private final Map> parameters = new LinkedHashMap<>();

    public ParameterCrudView() {

    }

    public void build(List parameterEntries) {
        Map> map = parameterEntries.stream()
                .sorted(Comparator.comparingInt(ParameterEntry::getSequence))
                .collect(Collectors.groupingBy(ParameterEntry::getGroup, Collectors.mapping(Function.identity(), Collectors.toList())));


    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy