This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ua.rumata.sorters; | |
public class MultiMerger extends Thread { | |
private int[] unsorted, sorted; | |
// Ограничиваем максимальное количество запускаемых потоков | |
private static final int MAX_THREADS = 8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ua.rumata.copyfiles; | |
import java.io.*; | |
import java.util.ArrayList; | |
import java.util.Vector; | |
public class SequenceCombineFiles { | |
public static void main(String[] args) { |