이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
사전
값을 인덱싱하는 키를 사용하여 데이터 매핑
사전은 각 키와 키에 대응하는 값을 연결하는 데이터 구조입니다. 키와 값은 모든 데이터형이 될 수 있으며, 데이터 액세스에 있어 배열 인덱스보다 더 나은 유연성과 향상된 성능을 제공합니다.
함수
dictionary | Object that maps unique keys to values |
entries | Key-value pairs of dictionary |
keys | Keys of dictionary |
values | Values of dictionary |
types | Types of dictionary keys and values |
numEntries | Number of key-value pairs in dictionary |
isConfigured | Determine if dictionary has types assigned to keys and values |
isKey | Determine if dictionary contains key |
keyHash | Generate hash code for dictionary key |
keyMatch | Determine if two dictionary keys are the same |
도움말 항목
- Map Data with Dictionaries
Use dictionaries to store key-value pairs of different data types.
- Dictionaries and Custom Classes
Modify custom classes for expected behavior in dictionaries.