Package com.authkit

Class Util


  • public final class Util
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Util()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T orDefault​(T value, T defaultValue)  
      static <T> T required​(T value, java.lang.String label)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Util

        public Util()
    • Method Detail

      • orDefault

        public static final <T> T orDefault​(T value,
                                            T defaultValue)
      • required

        public static final <T> T required​(T value,
                                           java.lang.String label)