org.bklab.flow.parameter.ParameterCrudView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-vaadin-flow Show documentation
Show all versions of fluent-vaadin-flow Show documentation
Broderick Labs for fluent vaadin flow. Inherits common Vaadin components.
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