Class CodeUtil


  • public class CodeUtil
    extends Object
    Miscellaneous util methods that don't fit anywhere else.
    • Constructor Detail

      • CodeUtil

        public CodeUtil()
    • Method Detail

      • getOrElse

        public static <T> T getOrElse​(T value1,
                                      T value2)
        Mimic of Oracle's nvl() - returns the first value if not null, otherwise the second value.