Maps Provide Three Collection Views.
- Key Set - allow a map's contents to be viewed as a set of keys.
- Values Collection - allow a map's contents to be viewed as a set of values.
- Entry Set - allow a map's contents to be viewed as a set of key-value mappings.
No comments:
Post a Comment