Code example for ConcurrentLinkedQueue

Methods: add

0
    return _list.iterator(); 
  } 
 
  @Override 
  public void add(final ContextRunnable runnable) { 
    _list.add(runnable); 
  } 
 
  @Override 
  public ContextRunnable take() { 
    return _list.poll(); 
  } 
}