public void concatenate(byte[] array) {if (array == null) {throw new IllegalArgumentException("array cannot be null");}arrays.add(array);}
public void Concatenate(byte[] array){if (array == null){throw new ArgumentException("array cannot be null");}arrays.Add(array);}