title: Replace the legacy Stack with what from Java Collections?
body: <p>This is kind of a Java trivia question perhaps.  </p>
  
  <p>I have used the <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Stack.html" rel="noreferrer">Stack</a> implementation many times.  </p>
  
  <p>I have read that this is considered a legacy class and due to the fact that it subclasses <code>Vector</code> makes its performance bad in single threaded applications.  </p>
  
  <p>My question is, what is the best alternative among the Java Collection classes?  </p>
  
  <p>Is there another <code>Stack</code> class available (by a different name perhaps) that is the one to choose?  </p>
  
  <p>I mean, ok implementing a stack arround another existing data structure is easy, but I would expect there is an existing <code>Stack</code> to use.</p>