title: Collection that loses oldest elements on add()
body: <p>I'm looking for a Java class that implements <code>Collection</code> and loses oldest elements when I <code>add()</code> a new one, if total number of elements is bigger than X. Does it exist or I have to implement it myself?</p>
  
  <p>I need a thread-safe one.</p>