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

de.pfabulist.loracle.license.PP 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 de.pfabulist.unchecked.functiontypes.BiFunctionE;
//
//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 PP {
//
//    private final Stream stream;
//    private R state;
//
//    private Function judge;
//
//
////    private Optional state;
////
////    Optional get() {
////        return state;
////    }
//
//    public PP( R init, Function whichState, Stream stream ) {
//        this.state = init;
//        this.stream = stream;
//        this.judge = whichState;
//    }
//
//
//    public  Stream proc( BiFunction, E, Boolean> test,
//                               BiFunction, E, T> nop,
//                               BiFunction, E, T> yes ) {
//
//        PP that = this;
//
//        return stream.map( e -> {
//            if( test.apply( that, e ) ) {
//                return yes.apply( that, e );
//
//            }
//            }
//
//    }
//
//    public void setState( R b ) {
//        this.state = b;
//    }
//
//}
//




© 2015 - 2025 Weber Informatics LLC | Privacy Policy