title: FIFO class in Java
body: <p>I want to implement FIFO through a class in Java.</p>
  
  <p>Does such a class already exist? If not, how can I implement my own?</p>
  
  <p><strong>NOTE</strong></p>
  
  <p>I found a class here <a href="http://www.dcache.org/manuals/cells/docs/api/dmg/util/Fifo.html">http://www.dcache.org/manuals/cells/docs/api/dmg/util/Fifo.html</a>, but it doesn't contain dmg.util.*. I don't know if such a package even exists.</p>