Browse Source

Added method HashMap::Iterator::reset()

tags/2021-05-28
jules 9 years ago
parent
commit
e051b5ad8f
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      modules/juce_core/containers/juce_HashMap.h

+ 7
- 0
modules/juce_core/containers/juce_HashMap.h View File

@@ -424,6 +424,13 @@ public:
return entry != nullptr ? entry->value : ValueType();
}
/** Resets the iterator to its starting position. */
void reset() noexcept
{
entry = nullptr;
index = 0;
}
private:
//==============================================================================
const HashMap& hashMap;


Loading…
Cancel
Save