Class TypeUtils

Object
TypeUtils

public class TypeUtils extends Object
  • Constructor Details

    • TypeUtils

      public TypeUtils()
  • Method Details

    • setType

      public static <T> Class<Set<T>> setType()
    • mapType

      public static <T, V> Class<Map<T,V>> mapType()
    • listType

      public static <T> Class<List<T>> listType()
    • nn

      public static long nn(@Nullable Long value, long defaultValue)
    • nn

      public static int nn(@Nullable Integer value, int defaultValue)
    • nnv

      @NotNull public static <T> T nnv(@Nullable T value, @NotNull T defaultValue)
    • lv

      public static long lv(String v, long defaultValue)
    • iv

      public static int iv(String v, int defaultValue)
    • lvn

      public static Long lvn(String v)
    • ivn

      public static Integer ivn(String v)
    • nn

      public static String nn(String value)
    • nnl

      public static long nnl(Long value)
    • nni

      public static int nni(Integer value)
    • fitsIntoInt

      public static boolean fitsIntoInt(long value)