com.karmasphere.share.util
Class ArrayUtil

java.lang.Object
  extended by com.karmasphere.share.util.ArrayUtil

public class ArrayUtil
extends Object


Constructor Summary
ArrayUtil()
           
 
Method Summary
static byte[] reverse(byte[] array)
          Reverses an array in-place.
static String toHexString(byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayUtil

public ArrayUtil()
Method Detail

reverse

public static final byte[] reverse(byte[] array)
Reverses an array in-place. This function modifies the given input array.

Returns:
the input array, modified in place.

toHexString

public static final String toHexString(byte[] data)


Copyright © 2004-2005 Karamsphere. All Rights Reserved.