Class UnsetIfStringNe

  • All Implemented Interfaces:
    java.util.function.Function<java.lang.String,​java.lang.Object>

    public class UnsetIfStringNe
    extends java.lang.Object
    implements java.util.function.Function<java.lang.String,​java.lang.Object>
    Yields UNSET.value if the input String is not equal to the specified String value. Throws an error if the input value is null. Otherwise, passes the original value along.
    • Constructor Summary

      Constructors 
      Constructor Description
      UnsetIfStringNe​(java.lang.String compareto)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Object apply​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • UnsetIfStringNe

        public UnsetIfStringNe​(java.lang.String compareto)
    • Method Detail

      • apply

        public java.lang.Object apply​(java.lang.String s)
        Specified by:
        apply in interface java.util.function.Function<java.lang.String,​java.lang.Object>