LazySeq Implementation using the Iterator interface (hasNext/next) instead of Traversable's (foreach)
LazySeq Implementation using the Java Iterable interface
LazySeq Implementation using the Java Iterator interface
A Non-Strict Traversable meant to be used for reading resources (Files, InputStreams, etc...) that might not fit into memory and may or may not be re-readable.
A LazySeq producer/consumer pair that uses a BlockingQueue
A LazySeq producer/consumer pair that uses a BlockingQueue
I think this is Thread-Safe
Helper class that takes a Resource and handles using the resource
Keeps an in-memory buffer gets sorted once a size threshold is passed and written to a temp file.
Keeps an in-memory buffer gets sorted once a size threshold is passed and written to a temp file. This is repeated until result() is called. Data is then read back from the temp files in sorted order.
This should be thread-safe
A builder that lets us build up a temp file that can be read back as a LazySeq.
A builder that lets us build up a temp file that can be read back as a LazySeq. Useful for methods like groupBy, grouped, partition, etc...
Methods are synchronized so this should be thread-safe now