T- type class. This is a marker parameter that is not reflected in the signatures, but respected by the methods in
public interface ArrayWritable<T>
Collection.toArray(Object)method in the following way: -
void writeToArray(int offset, Object array, int tgtOfs, int num)
System.arraycopy(this.toArray(), offset, array, tgtOfs, num);
offset- how many elements of this container to skip.
array- the array in which to store the elements.
tgtOfs- the starting offset in the target array.
num- the maximum number of elements to copy.
Copyright © 2015. All Rights Reserved.