A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
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
is one place you might start to learn about this.
[Jess in Action]
Generics question from Exam Lab
single return statement: yes / no?
need help about generics
how comparator works
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015