Class IsLikeCaseInsensitive

    • Constructor Detail

      • IsLikeCaseInsensitive

        protected IsLikeCaseInsensitive​(String value)
    • Method Detail

      • when

        @Deprecated
        public IsLikeCaseInsensitive when​(Predicate<String> predicate)
        Deprecated.
        replaced by filter(Predicate)
        If renderable and the value matches the predicate, returns this condition. Else returns a condition that will not render.
        Parameters:
        predicate - predicate applied to the value, if renderable
        Returns:
        this condition if renderable and the value matches the predicate, otherwise a condition that will not render.
      • then

        @Deprecated
        public IsLikeCaseInsensitive then​(UnaryOperator<String> mapper)
        Deprecated.
        replaced by map(UnaryOperator)
        If renderable, apply the mapping to the value and return a new condition with the new value. Else return a condition that will not render (this).
        Parameters:
        mapper - a mapping function to apply to the value, if renderable
        Returns:
        a new condition with the result of applying the mapper to the value of this condition, if renderable, otherwise a condition that will not render.
      • filter

        public IsLikeCaseInsensitive filter​(Predicate<? super String> predicate)
        Description copied from class: AbstractSingleValueCondition
        If renderable and the value matches the predicate, returns this condition. Else returns a condition that will not render.
        Specified by:
        filter in class AbstractSingleValueCondition<String>
        Parameters:
        predicate - predicate applied to the value, if renderable
        Returns:
        this condition if renderable and the value matches the predicate, otherwise a condition that will not render.
      • map

        public IsLikeCaseInsensitive map​(UnaryOperator<String> mapper)
        If renderable, apply the mapping to the value and return a new condition with the new value. Else return a condition that will not render (this).
        Parameters:
        mapper - a mapping function to apply to the value, if renderable
        Returns:
        a new condition with the result of applying the mapper to the value of this condition, if renderable, otherwise a condition that will not render.