A reimplementation of a Java stack data structure.