70717273747576
} @Override public ByteVector createVector(ByteVector vector) { return new BasicByteVector(vector); }
76777879808182
} @Override public ByteVector createVector(VectorSource source) { return new BasicByteVector(source); }
85868788899091
public ByteVector createConstantVector(int length, byte value) { byte array[] = new byte[length]; Arrays.fill(array, value); return new BasicByteVector(array); }
96979899100101102
byte array[] = new byte[length]; for (int i = 0; i < length; i++) { array[i] = (byte)random.nextInt(); } return new BasicByteVector(array); }
108109110111112113114
final byte[] array = new byte[length]; for (int i = 0; i < length; i++) { array[i] = Serialization.readVectorValue(buffer); } return new BasicByteVector(array); }
120121122123124125126
final byte[] array = new byte[length]; for (int i = 0; i < length; i++) { array[i] = Serialization.readVectorValue(ch); } return new BasicByteVector(array); }