1 // 2 // KTMatrixImp 3 // KTMatrix 4 // 5 // Implements an immutable KTMatrix subclass 6 // 7 // Copyright (c) 2002 Chris Purcell. All rights reserved. 8 // 9 // You may use this code for whatever purposes you wish. 10 // This code comes with no warranties, implied or otherwise. 11 // Using it may damage your data. It shouldn't, but save a copy first. 12 // That's a good idea anyway, actually. 13 // 14 15 #import "KTMatrix.h" 16 17 @interface KTMatrixImp : KTMatrix 18 { 19 NSDictionary *matrix; 20 id<KTLocationHash> hash; 21 } 22 23 - (id)initWithMatrixData:(NSDictionary *)matrixData 24 locationHash:(id<KTLocationHash>)locationHash; 25 26 @end 27