Possible Duplicate:
What does the <TYPE> in java mean?
Hello I came across this class while debugging , can someone give me pointers to what it means, please. Thanks.
class Something<P>{
private P someVariable;
}
//what does <P> mean here?
Thanks.
This is a generic. It allows you to write code that works with different types.
Try this tutorial:
http://docs.oracle.com/javase/tutorial/java/generics/