FSTTreeSortedDictionaryEnumerator.h 771 B

123456789101112131415161718192021
  1. #import <Foundation/Foundation.h>
  2. #import "Firestore/third_party/Immutable/FSTTreeSortedDictionary.h"
  3. NS_ASSUME_NONNULL_BEGIN
  4. @interface FSTTreeSortedDictionaryEnumerator <KeyType, ValueType> : NSEnumerator<ValueType>
  5. - (id)init __attribute__((
  6. unavailable("Use initWithImmutableSortedDictionary:startKey:isReverse: instead.")));
  7. - (instancetype)initWithImmutableSortedDictionary:
  8. (FSTTreeSortedDictionary<KeyType, ValueType> *)aDict
  9. startKey:(KeyType _Nullable)startKey
  10. endKey:(KeyType _Nullable)endKey
  11. isReverse:(BOOL)reverse NS_DESIGNATED_INITIALIZER;
  12. - (nullable ValueType)nextObject;
  13. @end
  14. NS_ASSUME_NONNULL_END