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

io.github.qudtlib.nodedef.Builder Maven / Gradle / Ivy

There is a newer version: 6.7.0
Show newest version
package io.github.qudtlib.nodedef;

import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;

public interface Builder {
    static  Set buildSet(Set> builders) {
        return builders.stream().map(Builder::build).collect(Collectors.toSet());
    }

    static  List buildList(List> builders) {
        return builders.stream().map(Builder::build).collect(Collectors.toList());
    }

    public T build();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy