aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/third_party/Immutable/FSTTreeSortedDictionaryEnumerator.h
blob: d31d4c23f3f81882965bcdceeb30fb25c82cd5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#import <Foundation/Foundation.h>

#import "Firestore/third_party/Immutable/FSTTreeSortedDictionary.h"

NS_ASSUME_NONNULL_BEGIN

@interface FSTTreeSortedDictionaryEnumerator <KeyType, ValueType> : NSEnumerator<ValueType>

- (id)init __attribute__((
    unavailable("Use initWithImmutableSortedDictionary:startKey:isReverse: instead.")));

- (instancetype)initWithImmutableSortedDictionary:
                    (FSTTreeSortedDictionary<KeyType, ValueType> *)aDict
                                         startKey:(KeyType _Nullable)startKey
                                           endKey:(KeyType _Nullable)endKey
                                        isReverse:(BOOL)reverse NS_DESIGNATED_INITIALIZER;
- (nullable ValueType)nextObject;

@end

NS_ASSUME_NONNULL_END