Code example for LineProcessor

Methods: getResult

0
    } 
 
    @Override 
    public T getResult() 
    { 
        return callback.getResult();
    } 
 
    private static class LineReader<T> implements Callable<T>
    { 
        private final BlockingQueue<String> queue;
        private final LineProcessor<T> processor;
 
        private LineReader(BlockingQueue<String> queue, LineProcessor<T> processor)
        { 
            this.queue = queue;
            this.processor = processor;
        } 
 
        @Override