hello, was wondering if there is a java equivalent of a c++ template?
what i would like to do is to make a stack, but not be restricted to what i can push/pop on the stack (all the data will be the same on the stack, but i would like to be able to use teh same code for different objects).
thanks!
what i would like to do is to make a stack, but not be restricted to what i can push/pop on the stack (all the data will be the same on the stack, but i would like to be able to use teh same code for different objects).
thanks!