Class Join<T>

    • Field Detail

      • conditions

        java.util.Collection<Condition<? super T>> conditions
    • Constructor Detail

      • Join

        @SafeVarargs
        protected Join​(Condition<? super T>... conditions)
        Creates a new Join.
        Parameters:
        conditions - the conditions to join.
        Throws:
        java.lang.NullPointerException - if the given array is null.
        java.lang.NullPointerException - if any of the elements in the given array is null.
      • Join

        protected Join​(java.lang.Iterable<? extends Condition<? super T>> conditions)
        Creates a new Join.
        Parameters:
        conditions - the conditions to join.
        Throws:
        java.lang.NullPointerException - if the given iterable is null.
        java.lang.NullPointerException - if any of the elements in the given iterable is null.
      • Join

        private Join​(java.util.stream.Stream<? extends Condition<? super T>> stream)
    • Method Detail

      • checkNotNullConditions

        private static <T> T checkNotNullConditions​(T conditions)
      • descriptionPrefix

        public abstract java.lang.String descriptionPrefix()
        method used to prefix the subclass join description, ex: "all of"
        Returns:
        the prefix to use to build the description.
      • notNull

        private static <T> T notNull​(T condition)
      • conditions

        protected final java.util.Collection<Condition<? super T>> conditions()
        Returns the conditions to join.
        Returns:
        the conditions to join.