//
//  GSIntegerSet.h
//  GlyphsApp
//
//  Created by Georg Seifert on 15.04.24.
//  Copyright © 2024 schriftgestaltung.de. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface GSIntegerSet : NSObject

- (void)addInteger:(int)integer;

- (void)addIntegersInRange:(NSRange)range;

- (void)removeInteger:(int)integer;

- (void)removeAllIntegers;

- (void)removeIntegersInRange:(NSRange)range;

- (BOOL)containsInteger:(int)integer;

- (void)enumerateIntegersUsingBlock:(void (^)(int integer, BOOL *stop))block;

- (int)integerLessThanInteger:(int)integer;

- (int)integerGreaterThanInteger:(int)integer;

@end

NS_ASSUME_NONNULL_END
