Code example for LinkedBlockingQueue

Methods: offer

0
    } 
 
    @Override 
    public void LineRead(MatcherOutputLineEvent event) {
        T result = decode(event);
        theQueue.offer(result);
        Thread.yield();
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java