barchart-udt-core
2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500

com.barchart.udt.util
Class HelpUDT

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

public class HelpUDT
extends Object

miscellaneous utilities


Field Summary
protected static org.slf4j.Logger log
           
 
Method Summary
static void checkArray(byte[] array)
           
static void checkBuffer(ByteBuffer buffer)
           
static void checkSocketAddress(InetSocketAddress socketAddress)
           
static String constantFieldName(Class<?> klaz, Object instance)
           
static long md5sum(String text)
           
static IntBuffer newDirectIntBufer(int capacity)
          direct integer buffer with proper native byte order
static
<E> Set<E>
ungrowableSet(Set<E> set)
           
static
<E> Set<E>
unmodifiableSet(Collection<E> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.slf4j.Logger log
Method Detail

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)

barchart-udt-core
2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500

Copyright © 2009-2013 Barchart, Inc.. All Rights Reserved.