Class HelpUDT

java.lang.Object
com.barchart.udt.util.HelpUDT

public class HelpUDT extends Object
miscellaneous utilities
  • Field Details

    • log

      protected static final org.slf4j.Logger log
  • Constructor Details

    • HelpUDT

      private HelpUDT()
  • Method Details

    • md5sum

      public static long md5sum(String text)
    • newDirectIntBufer

      public static final IntBuffer newDirectIntBufer(int capacity)
      direct integer buffer with proper native byte order
    • ungrowableSet

      public static <E> Set<E> ungrowableSet(Set<E> set)
    • unmodifiableSet

      public static <E> Set<E> unmodifiableSet(Collection<E> values)
    • checkBuffer

      public static final void checkBuffer(ByteBuffer buffer)
    • checkArray

      public static final void checkArray(byte[] array)
    • constantFieldName

      public static String constantFieldName(Class<?> klaz, Object instance)
    • checkSocketAddress

      public static void checkSocketAddress(InetSocketAddress socketAddress)