author | snej@snej-mbp.mtv.corp.google.com |
Wed Apr 08 16:31:19 2009 -0700 (2009-04-08) | |
changeset 24 | 629c7605ab2a |
permissions | -rw-r--r-- |
1 //
2 // IntegerArray.h
3 // Cloudy
4 //
5 // Created by Jens Alfke on 6/23/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
12 @interface IntegerArray : NSObject {
13 NSMutableData *_storage;
14 SInt32 *_integers;
15 NSUInteger _count;
16 }
18 - (NSUInteger)count;
19 - (const SInt32*) allIntegers;
21 - (SInt32) integerAtIndex: (NSUInteger)index;
22 - (void) setInteger: (SInt32)value atIndex: (NSUInteger)index;
23 - (void) addInteger: (SInt32)value;
25 @end