Class EnumUtil


  • public final class EnumUtil
    extends java.lang.Object
    This file is a helper class for internal usage only. Be aware that its API and functionality may be changed in future.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EnumUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends java.lang.Enum<T>>
      java.util.List<T>
      getAllValuesOfEnum​(java.lang.Class<T> enumInstance)  
      static <T extends java.lang.Enum<T>>
      T
      throwIfNull​(T enumInstance)  
      • Methods inherited from class java.lang.Object

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

      • EnumUtil

        private EnumUtil()
    • Method Detail

      • throwIfNull

        public static <T extends java.lang.Enum<T>> T throwIfNull​(T enumInstance)
      • getAllValuesOfEnum

        public static <T extends java.lang.Enum<T>> java.util.List<T> getAllValuesOfEnum​(java.lang.Class<T> enumInstance)