Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.ning.compress.lzf.parallel;
 
 

Author(s):
C├ędrik LIME
class WriteTask implements Runnable {
    private final OutputStream output;
    private final Future<LZFChunklzfFuture;
    private final PLZFOutputStream caller;
    public WriteTask(OutputStream outputFuture<LZFChunklzfFuturePLZFOutputStream caller) {
        super();
        this. = output;
        this. = lzfFuture;
        this. = caller;
    }

    
    @Override
    public void run() {
        try {
            LZFChunk lzfChunk = .get();
            while (lzfChunk != null) {
                .write(lzfChunk.getData());
                lzfChunk = lzfChunk.next();
            }
        } catch (Exception e) {
            . = e;
        }
    }
New to GrepCode? Check out our FAQ X