N
nooneinparticular314159
Whenever I do:
Iterator KeyIterator = KeySet.iterator();
while (KeyIterator.hasNext()){
Attack ReturnedAttack = (Attack)
KeyIterator.next();
I get an error, either:
Exception in thread "main" java.lang.ClassCastException:
java.lang.String
at geolocation.Main.main(Main.java:141)
The process tried to write to a nonexistent pipe.
or a no such object error, even though I can verify that there are
objects in the object being iterated on.
Any idea why?
Thanks!
Iterator KeyIterator = KeySet.iterator();
while (KeyIterator.hasNext()){
Attack ReturnedAttack = (Attack)
KeyIterator.next();
I get an error, either:
Exception in thread "main" java.lang.ClassCastException:
java.lang.String
at geolocation.Main.main(Main.java:141)
The process tried to write to a nonexistent pipe.
or a no such object error, even though I can verify that there are
objects in the object being iterated on.
Any idea why?
Thanks!