File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Joined: Feb 01, 2007
Feb 24, 2007 03:39:00
What does the letter E in Interface Collection
mean..And also what does the letter T in Comparator<T> mean.Like wise what do K,V mean in Map<K,V>.Do they have any special meaning or reference.
Thanks in advance
author and iconoclast
Joined: Jul 08, 2003
Feb 24, 2007 05:39:00
Do you understand about generics, and are just asking if the letters themselves mean anything, or do you not know what the whole angle-bracket notation is about in the first place?
If it's the former, I'd guess that E is for
, K and V are for
and [/i]value, and T is for
. But they're arbitrary -- could be any letter.
If you don't know what the angle brackets mean, they are part of something new in Java 5 called
is one place you might start to learn about this.
[Jess in Action]
I agree. Here's the link:
Generics question from Exam Lab
need help about generics
single return statement: yes / no?
how comparator works
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014