
de.pfabulist.loracle.license.PP Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of loracle-maven-plugin Show documentation
Show all versions of loracle-maven-plugin Show documentation
maven plugin to check the licenses of all dependencies and possible incompatibilities
//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