|
|
|
@ -236,7 +236,7 @@ public class Dispatcher {
|
|
|
|
|
|
|
|
|
|
// init the result vector
|
|
|
|
|
final int partitionCount = this.seeds.scheme.verticalPartitions();
|
|
|
|
|
final List<ReferenceContainer<WordReference>>[] partitions = (List<ReferenceContainer<WordReference>>[]) Array.newInstance(ReferenceContainer.class, partitionCount);
|
|
|
|
|
final List<ReferenceContainer<WordReference>>[] partitions = (List<ReferenceContainer<WordReference>>[]) Array.newInstance(ArrayList.class, partitionCount);
|
|
|
|
|
for (int i = 0; i < partitions.length; i++) partitions[i] = new ArrayList<ReferenceContainer<WordReference>>();
|
|
|
|
|
|
|
|
|
|
// check all entries and split them to the partitions
|
|
|
|
|