Re: Can Pattern objects be stored in a Hashtable?

2002-05-10 Thread Daniel F. Savarese
In message [EMAIL PROTECTED], St eve Cohen writes: apparently not. Granted, I am using a somewhat old version: Patterns can be stored in Hashtables and HashMaps. This is done by the PatternCache classes. Whatever you're running into is peculiar to HashSet. HashSet.hashCode() is going into an

Re: Can Pattern objects be stored in a Hashtable?

2002-05-10 Thread Daniel F. Savarese
In message [EMAIL PROTECTED], St eve Cohen writes: Very interesting. I actually solved my problem by eliminating the HashSet (which I didn't need for patterns anyway) and replacing it with LinkedList. I just compared the implementations of HashMap/HashSet JDK 1.3.1 vs. 1.4, and there were a