... | @@ -1038,21 +1038,21 @@ class GenericEx1 |
... | @@ -1038,21 +1038,21 @@ class GenericEx1 |
|
|
|
|
|
|기존 컬렉션|대응되는 제네릭 버전 컬렉션|
|
|
|기존 컬렉션|대응되는 제네릭 버전 컬렉션|
|
|
|-------------|--------------------------------|
|
|
|-------------|--------------------------------|
|
|
|ArrayList|List<T>|
|
|
|ArrayList|List\<T>|
|
|
|Hashtable|Dictionary<TKey, TValue>|
|
|
|Hashtable|Dictionary\<TKey, TValue>|
|
|
|SortedList|SortedDictionary<TKey,TValue>|
|
|
|SortedList|SortedDictionary\<TKey,TValue>|
|
|
|Stack|Stack<T>|
|
|
|Stack|Stack\<T>|
|
|
|Queue|Queue<T>|
|
|
|Queue|Queue\<T>|
|
|
|
|
|
|
기존 인터페이스에서도 박싱/언박싱 문제가 발생하는 경우 새롭게 제네릭 버전이 제공된다.
|
|
기존 인터페이스에서도 박싱/언박싱 문제가 발생하는 경우 새롭게 제네릭 버전이 제공된다.
|
|
|
|
|
|
|기존 인터페이스|대응되는 제네릭 버전 인터페이스|
|
|
|기존 인터페이스|대응되는 제네릭 버전 인터페이스|
|
|
|------------------|-------------------------------------|
|
|
|------------------|-------------------------------------|
|
|
|IComparable|IComparable\<T>|
|
|
|IComparable|IComparable\<T>|
|
|
|IComparer|IComparer<T>|
|
|
|IComparer|IComparer\<T>|
|
|
|IEnumerable|IEnumerable<T>|
|
|
|IEnumerable|IEnumerable\<T>|
|
|
|IEnumerator|IEnumerator<T>|
|
|
|IEnumerator|IEnumerator\<T>|
|
|
|ICollection|ICollection<T>|
|
|
|ICollection|ICollection\<T>|
|
|
|
|
|
|
|
|
|
|
|
|
|
... | | ... | |