commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38661] New: - ReferenceMap size of bug.
Date Wed, 15 Feb 2006 19:26:28 GMT
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: hemilycrutcher@yahoo.com


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message