"Dumbledore" wrote : Thanks for the reply.
  | 
  | Okay, so this iterator doesn't behave as described in the java-api-docs? 
The iterator is of the type java.util.Iterator.
  | 
  | Where can I learn more about this topic?
  | 

EJB spec, section 10.3.6 gives more details.

BTW, there's a subtle yet big difference between your two code examples:
first example: removes all players from the "players" collection belonging to 
the given "game". the player objects still continue to exist.
second example: physically removes all player objects belonging to the given 
"game". thus automatically removing them from the collection, too.

(sorry, no idea why the first example doesn't work)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880676#3880676

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880676


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to