aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/third_party/Immutable/FSTTreeSortedDictionaryEnumerator.h
blob: ab82f004bafd8c377b3674b78ece2c94a5e6fa62 (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 "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