|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
for(int x=0; x<s1.length; x++) {
HashMap hm = new HashMap();
v.add( hm.put(o, s1[x]) );
if (v.get(x) == null) System.out.println("wowzers");
}
for(int x=0; x<s1.length; x++) {
HashMap hm = new HashMap();
hm.put(o, s1[x]);
v.add( hm );
if (v.get(x) == null) System.out.println("wowzers");
}
I'd love to know if this is a bug or by design!
| References: | |
| >null you have, ... it null you don't (From: Terrance Davis <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.