aspose file tools
The moose likes Beginning Java and the fly likes what <E> means in java..?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what <E> means in java..??" Watch "what <E> means in java..??" New topic

what <E> means in java..??

Roshan Rai

Joined: Aug 16, 2012
Posts: 15

Surfing on the source code of Java, I found the following declaration:


How should it be interpreted? I'm stuck with it...

Thank you...
Matthew Brown

Joined: Apr 06, 2010
Posts: 4518

Those are generic types. I'd suggest going through the official Java Tutorial on the topic: They're particularly important when you're using collections.
Winston Gutkowski

Joined: Mar 17, 2011
Posts: 8626

Roshan Rai wrote:How should it be interpreted? I'm stuck with it...

It's a generic type. Java Generics was introduced in release 1.5.

I suggest you read the tutorial, because it's too much to cover in a simple post.


[Edit] Dang! Too slow.

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Have you tried LearnNowOnline?
subject: what <E> means in java..??