DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38661>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38661

           Summary: ReferenceMap size of bug.
           Product: Commons
           Version: unspecified
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Collections
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I have the following declaration of my map:

Here is the code:
System.err.println("elements are " + elements + "\n\t  element size is " + 
elements.size() + "\n\tkey set " + elements.keySet()  + "\n\telements:" + 
elements.values());
Iterator iter = elements.keySet().iterator();
       while (iter.hasNext()) {
        Object element =  iter.next();
        System.err.println("next element:" + element);
        }
        System.err.println("--------------");
Here is the results below, where usually the answer is 2 but occationally 3


elements are {Concept=ConceptImpl Concept, ValueSet=ConceptImpl ValueSet}
 element size is 3
key set [Concept, ValueSet]
elements:[ConceptImpl Concept, ConceptImpl ValueSet]
next element:Concept
next element:ValueSet
--------------
size:3

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to