Well, all I was using it for really was to update the internal "length" field of the array. Come to think of it though, my tests weren't actually testing to see if it worked since the only time the array would be a smaller size than it's initialization size was during a hash collision with different names (multiple hash entries of the same name are no problem).
Come to think of it, I doubt that the length field is being updated anyways. Hmm, I'll have to tweak things a bit.
[edit] It'd be nice if I could just tweak the length parameter myself, although I understand why that's not possible ;). Maybe I'll just make a wrapper class that stores the length.
Come to think of it, I doubt that the length field is being updated anyways. Hmm, I'll have to tweak things a bit.
[edit] It'd be nice if I could just tweak the length parameter myself, although I understand why that's not possible ;). Maybe I'll just make a wrapper class that stores the length.