|
HRVKit
HRV Analysis for iOS
|
00001 // 00002 // OrderedDictionary.h 00003 // OrderedDictionary 00004 // 00005 // Created by Matt Gallagher on 19/12/08. 00006 // Copyright 2008 Matt Gallagher. All rights reserved. 00007 // 00008 // Permission is given to use this source code file without charge in any 00009 // project, commercial or otherwise, entirely at your risk, with the condition 00010 // that any redistribution (in part or whole) of source code must retain 00011 // this copyright and permission notice. Attribution in compiled projects is 00012 // appreciated but not required. 00013 // 00014 00015 #import <Foundation/Foundation.h> 00016 00017 @interface OrderedDictionary : NSObject<NSCoding> 00018 { 00019 NSMutableDictionary *dictionary; 00020 NSMutableArray *array; 00021 } 00022 00023 - (void)insertObject:(id)anObject forKey:(id)aKey atIndex:(NSUInteger)anIndex; 00024 - (id)keyAtIndex:(NSUInteger)anIndex; 00025 - (NSEnumerator *)reverseKeyEnumerator; 00026 -(NSArray*)keys; 00027 -(NSArray*)values; 00028 - (void)setObject:(id)anObject forKey:(id)aKey; 00029 - (id)initWithCapacity:(NSUInteger)capacity; 00030 - (NSUInteger)count; 00031 - (id)objectForKey:(id)aKey; 00032 -(void)clear; 00033 - (void)removeObjectForKey:(id)aKey; 00034 00035 @end
1.8.0