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

de.pfabulist.loracle.license.Proc Maven / Gradle / Ivy

Go to download

maven plugin to check the licenses of all dependencies and possible incompatibilities

There is a newer version: 2.0.1
Show newest version
//package de.pfabulist.loracle.license;
//
//import java.util.function.BiFunction;
//import java.util.function.Function;
//import java.util.stream.Stream;
//
///**
// * Copyright (c) 2006 - 2016, Stephan Pfab
// * SPDX-License-Identifier: BSD-2-Clause
// */
//
//public class Proc {
//    private final Stream stream;
//    private R state;
//
//    private Function judge;
//
//
////    private Optional state;
////
////    Optional get() {
////        return state;
////    }
//
//    public Proc( R init, Function whichState, Stream stream ) {
//        this.state = init;
//        this.stream = stream;
//        this.judge = whichState;
//    }
//
//
//    public  Stream proc( BiFunction, E, T>... f ) {
//
//        Proc that = this;
//
//        return stream.map( e -> f[judge.apply( state)].apply( that, e ));
//
//    }
//
//    public void setState( R b ) {
//        this.state = b;
//    }
//
//}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy