I want to create a container class in Java. I am very new to java but have experience in C++. In C++ I could introduce the notion of a template type. Essentially what I want to do is create a container class that will allow a user of the class to create a "stack of plates" or a "stack of integers" or a "stack of objects" or whatever. I am not actually creating a stack - So please do not hand me a stack class. What I am trying to figure out is how to create a container classes generic functionality in a similar maner as C++ does.
Thank you Experts,