You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
633 B
22 lines
633 B
3 years ago
|
---
|
||
|
title: "Inefficient keySet Iterator"
|
||
|
description: "Check for inefficient uses of iterators that iterate on keys then lookup their values, instead of iterating on key-value pairs directly."
|
||
|
---
|
||
|
|
||
|
Check for inefficient uses of iterators that iterate on keys then lookup their values, instead of iterating on key-value pairs directly.
|
||
|
|
||
|
Activate with `--inefficient-keyset-iterator`.
|
||
|
|
||
|
Supported languages:
|
||
|
- C/C++/ObjC: No
|
||
|
- C#/.Net: Yes
|
||
|
- Erlang: No
|
||
|
- Java: Yes
|
||
|
|
||
|
|
||
|
|
||
|
## List of Issue Types
|
||
|
|
||
|
The following issue types are reported by this checker:
|
||
|
- [INEFFICIENT_KEYSET_ITERATOR](/docs/next/all-issue-types#inefficient_keyset_iterator)
|