Class PlCollectors


  • public class PlCollectors
    extends java.lang.Object
    A helper class providing some comfort functions dealing with stream collecting of PlFormula.
    Author:
    Mathias Hofer
    • Constructor Detail

      • PlCollectors

        public PlCollectors()
    • Method Detail

      • toConjunction

        public static java.util.stream.Collector<PlFormula,​?,​Conjunction> toConjunction()
      • toDisjunction

        public static java.util.stream.Collector<PlFormula,​?,​Disjunction> toDisjunction()
      • toDisjunctionOfConjunctivePairs

        public static java.util.stream.Collector<Pair<? extends PlFormula,​? extends PlFormula>,​?,​Disjunction> toDisjunctionOfConjunctivePairs()
      • toDisjunctionOfConjunctions

        public static java.util.stream.Collector<java.util.Collection<? extends PlFormula>,​?,​Disjunction> toDisjunctionOfConjunctions()
      • toConjunctionOfDisjunctivePairs

        public static java.util.stream.Collector<Pair<? extends PlFormula,​? extends PlFormula>,​?,​Conjunction> toConjunctionOfDisjunctivePairs()
      • toConjunctionOfDisjunctions

        public static java.util.stream.Collector<java.util.Collection<? extends PlFormula>,​?,​Conjunction> toConjunctionOfDisjunctions()
      • toDisjunction

        public static <T> java.util.stream.Collector<T,​?,​Disjunction> toDisjunction​(java.util.function.Function<T,​? extends PlFormula>[] functions)