COM.claymoresystems.util
Class Util

java.lang.Object
  extended by COM.claymoresystems.util.Util

public class Util
extends java.lang.Object


Constructor Summary
Util()
           
 
Method Summary
static boolean areEqual(byte[] arr1, byte[] arr2)
           
static int max(int a, int b)
           
static int min(int a, int b)
           
static byte[] toBytes(long val)
           
static byte[] toBytes(long val, int bytes)
           
static byte[] toBytes(short val)
           
static java.lang.String toHex(byte[] arr)
           
static void xdump(byte[] arr)
           
static void xdump(java.lang.String label, byte[] arr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

xdump

public static void xdump(java.lang.String label,
                         byte[] arr)

xdump

public static void xdump(byte[] arr)

toHex

public static java.lang.String toHex(byte[] arr)

areEqual

public static boolean areEqual(byte[] arr1,
                               byte[] arr2)

toBytes

public static byte[] toBytes(long val)

toBytes

public static byte[] toBytes(short val)

toBytes

public static byte[] toBytes(long val,
                             int bytes)

min

public static int min(int a,
                      int b)

max

public static int max(int a,
                      int b)


Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.