org.bouncycastle.util

Class Arrays

public final class Arrays extends Object

General array utilities.
Method Summary
static booleanareEqual(byte[] a, byte[] b)
static booleanareEqual(int[] a, int[] b)
static byte[]clone(byte[] data)
static voidfill(byte[] array, byte value)
static voidfill(long[] array, long value)
static voidfill(short[] array, short value)
static inthashCode(byte[] data)

Method Detail

areEqual

public static boolean areEqual(byte[] a, byte[] b)

areEqual

public static boolean areEqual(int[] a, int[] b)

clone

public static byte[] clone(byte[] data)

fill

public static void fill(byte[] array, byte value)

fill

public static void fill(long[] array, long value)

fill

public static void fill(short[] array, short value)

hashCode

public static int hashCode(byte[] data)