Package com.barchart.udt.util
Class HelpUDT
java.lang.Object
com.barchart.udt.util.HelpUDT
miscellaneous utilities
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final voidcheckArray(byte[] array) static final voidcheckBuffer(ByteBuffer buffer) static voidcheckSocketAddress(InetSocketAddress socketAddress) static StringconstantFieldName(Class<?> klaz, Object instance) static longstatic final IntBuffernewDirectIntBufer(int capacity) direct integer buffer with proper native byte orderstatic <E> Set<E> ungrowableSet(Set<E> set) static <E> Set<E> unmodifiableSet(Collection<E> values)
-
Field Details
-
log
protected static final org.slf4j.Logger log
-
-
Constructor Details
-
HelpUDT
private HelpUDT()
-
-
Method Details
-
md5sum
-
newDirectIntBufer
direct integer buffer with proper native byte order -
ungrowableSet
-
unmodifiableSet
-
checkBuffer
-
checkArray
public static final void checkArray(byte[] array) -
constantFieldName
-
checkSocketAddress
-