public class SortingRamSpool<T> extends Object implements Spool<T>
| Constructor and Description |
|---|
SortingRamSpool() |
SortingRamSpool(Comparator<T> c) |
| Modifier and Type | Method and Description |
|---|---|
Accumulator<T> |
accumulator()
Returns an Accumulator for the spool file.
|
Iterator<T> |
iterator()
Returns an Iterable over the spool file.
|
public SortingRamSpool()
public SortingRamSpool(Comparator<T> c)
public Iterator<T> iterator()
Spoolpublic Accumulator<T> accumulator() throws StorageException
Spoolaccumulator in interface Accumulable<T>accumulator in interface Spool<T>AccumulatorStorageExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.