title: How to convert list to queue to achieve FIFO
body: <pre><code>public List&lt;Place&gt; getAllInactivePlaces() {
  
          return this.placeDAO.findAllUnApprovedList();
      }
  </code></pre>
  
  <p>Hi the  method i shown above is to find all places.What  i need is ,i want to convert Queue to get FIFO
  something like this----- </p>
  
  <pre><code>Queue&lt;Place&gt;placeQueue=getAllInactivePlaces();
  </code></pre>