On Mar 10, 2009, at 2:33 PM, Тимофей Даньшин wrote:
I am writing a method for searching for the longest common
substring. The idea is to store the pieces of that LCS in an
NSMutableDictionary with TMIntWrappers as keys and NSMutableStrings
as values.
Now, TMIntWrapper is the class i created
On Tue, Mar 10, 2009 at 11:33 AM, Тимофей Даньшин wrote:
> Hello.
> I am writing a method for searching for the longest common substring. The
> idea is to store the pieces of that LCS in an NSMutableDictionary with
> TMIntWrappers as keys and NSMutableStrings as values.
> Now, TMIntWrapper is the
I'm not sure what your problem is, but I wanted to point out that it
appears you could use NSNumber instead of TMIntWrappers to wrap an int
value inside of an NSObject which can be used as a key. Perhaps there
is a bug in TMIntWrappers that is preventing it from being used as a
key...
Is
Have you tried using NSNumber instead of your custom integer wrapper?
I doubt this is the problem, but see what happens if you do.
HTH,
Alex
On Mar 10, 2009, at 2:33 PM, Тимофей Даньшин wrote:
Hello.
I am writing a method for searching for the longest common
substring. The idea is to store
Hello.
I am writing a method for searching for the longest common substring.
The idea is to store the pieces of that LCS in an NSMutableDictionary
with TMIntWrappers as keys and NSMutableStrings as values.
Now, TMIntWrapper is the class i created for wrapping ints into
objects. It stores an