title: Size Limit to Priority Queue
body: <p>add() or offer()The difference is that offer() will return false if it fails to insert the element on a size restricted Queue, whereas add() will throw an IllegalStateException.
  But Which Class we have In java which implements Queue and supports size limit? Or Please help me to understand If we can do limit the size Priority Queue.</p>