MCPcopy Index your code
hub / github.com/cowtowncoder/java-merge-sort / sort

Method sort

src/main/java/com/fasterxml/sort/Sorter.java:66–71  ·  view source on GitHub ↗

Method that will perform full sort on specified input, writing results into specified destination. Data conversions needed are done using DataReaderFactory and DataWriterFactory configured for this sorter.

(InputStream source, OutputStream destination)

Source from the content-addressed store, hash-verified

64 * for this sorter.
65 */
66 public void sort(InputStream source, OutputStream destination)
67 throws IOException
68 {
69 sort(_readerFactory.constructReader(source),
70 _writerFactory.constructWriter(destination));
71 }
72
73 /**
74 * Method that will perform full sort on input data read using given

Callers 6

testLargeSortMethod · 0.95
testLongLineMethod · 0.95
testSimpleMethod · 0.45
sortAndCheckMethod · 0.45
_presortMethod · 0.45
mainMethod · 0.45

Calls 6

constructReaderMethod · 0.45
constructWriterMethod · 0.45
hasNextMethod · 0.45
nextMethod · 0.45
writeEntryMethod · 0.45
closeMethod · 0.45

Tested by 4

testLargeSortMethod · 0.76
testLongLineMethod · 0.76
testSimpleMethod · 0.36
sortAndCheckMethod · 0.36