public class StringSort extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_SIZE |
Constructor and Description |
---|
StringSort(int overflowToDiskThreshold,
Comparator<String> comparator) |
public static final int BATCH_SIZE
public StringSort(int overflowToDiskThreshold, Comparator<String> comparator)
public void add(String id) throws IOException
IOException
public void sort() throws IOException
IOException
public Iterator<String> getIds() throws IOException
IOException
public long getSize()
public boolean isEmpty()
public boolean usingFile()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"