Class IsIn<T>

    • Method Detail

      • empty

        public static <T> IsIn<T> empty()
      • filter

        public IsIn<T> filter​(Predicate<? super T> predicate)
        Description copied from class: AbstractListValueCondition
        If renderable, apply the predicate to each value in the list and return a new condition with the filtered values. Else returns a condition that will not render (this). If all values are filtered out of the value list, then the condition will not render.
        Specified by:
        filter in class AbstractListValueCondition<T>
        Parameters:
        predicate - predicate applied to the values, if renderable
        Returns:
        a new condition with filtered values if renderable, otherwise a condition that will not render.
      • map

        public <R> IsIn<R> map​(Function<? super T,​? extends R> mapper)
        If renderable, apply the mapping to each value in the list return a new condition with the mapped values. Else return a condition that will not render (this).
        Type Parameters:
        R - type of the new condition
        Parameters:
        mapper - a mapping function to apply to the values, if renderable
        Returns:
        a new condition with mapped values if renderable, otherwise a condition that will not render.