//
//  KMRangeArray.h
//  KMLogView
//
//  Created by 堀 昌樹 on 12/05/09.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface KMRangeArray : NSObject


- (NSRange)rangeAtIndex:(NSInteger)index;
- (NSIndexSet *)indexSetInRange:(NSRange)range;
- (NSInteger)firstIndexInRange:(NSRange)range;

- (void)appendRangeWithLength:(NSUInteger)length;
- (void)insertRangeWithLenght:(NSUInteger)length atIndex:(NSInteger)index;
- (void)removeAtIndex:(NSInteger)index;
@end
