Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- Quartz
- maVen
- GIT
- 단축키
- vscode
- Source
- 줄바꿈 문자
- Windows 10
- ssh
- xargs
- Mac
- grep
- resource
- VirtualBox
- 네트워크
- lsof
- web.xml
- Windows
- IntelliJ
- port
- profile
- import
- context
- find
- plugin
- JavaScript
- netsh
- tomcat
- bash
- Eclipse
Archives
- Today
- Total
develog
[Java] Generics 본문
http://docs.oracle.com/javase/tutorial/java/generics/types.html
Type Parameter Naming Conventions
By convention, type parameter names are single, uppercase letters. This stands in sharp contrast to the variable naming conventions that you already know about, and with good reason: Without this convention, it would be difficult to tell the difference between a type variable and an ordinary class or interface name.
The most commonly used type parameter names are:
E - Element (used extensively by the Java Collections Framework)
K - Key
N - Number
T - Type
V - Value
S,U,V etc. - 2nd, 3rd, 4th types
'Dev > Java' 카테고리의 다른 글
[Java] Spring @Transactional explained (0) | 2014.10.07 |
---|---|
[Java] @Transactional, tx:advice MIX (0) | 2014.10.07 |
[Java] template callback return value (0) | 2014.10.01 |
[Java] 톰캣 설치 폴더 찾기 (0) | 2014.09.24 |
[Java] Java IO (0) | 2014.09.22 |
Comments