View Single Post
Old 10-29-2003, 05:02 PM   #23
Derk
New Member
 
Join Date: Oct 2003
Posts: 19
Derk is on a distinguished road
Well, when using jython.. and receiving a java Enumeration such as the elements of a Hashtable... Jython automatically converts Enumerations to iterators.

What I did was put every item in the iterator into an array. Which gave me the count and what I really wanted anyway.

Since my engine is multithreaded.. if my python scripts asked for the number of players in the room, and then a list of the players... its possible those things could be different. :/
Derk is offline   Reply With Quote