12장
1. 제네릭
1.1. 제네릭의 소개
/*
==========================================================================
1. 제네릭 미사용
==========================================================================
*/
List myIntList = new LinkedList(); // 1
myIntList.add(new Integer(0)); // 2
Integer x = (Integer) myIntList.iterator().next(); // 3
/*
==========================================================================
2. 제네릭 사용
==========================================================================
*/
List <Integer> myIntList = new LinkedList<Integer>(); // 4
myIntList.add(new Integer(0)); // 5
Integer x = myIntList.iterator().next(); // 61.2. 제네릭의 정의
1.3. 제네릭 및 하위 유형
1.4. 와일드카드
1.5. 제네릭 메서드
2. 열거형
3. 어노테이션
3.1. 메타 어노테이션
Title
Annotation Interface Documented
Title
Annotation Interface Inherited
Title
Annotation Interface Retention
Title
Annotation Interface Target
Title
Annotation Interface Repeatable
3.2. 메타 에너테이션을 제외한 어노테이션
Title
Annotation Interface Deprecated
Title
Annotation Interface Override
Title
Annotation Interface SuppressWarnings
Title
Annotation Interface SafeVerargs
Title
Annotation Interface FunctionalInterface
Title
Annotation Interface Native
3.3. 사용자 정의 어노테이션
Last updated