Iterator it = st.iterator();
while (it.hasNext())
{
Map.Entry<Integer,Session> m = (Map.Entry) it.next();
Session usSesh = m.getValue();
long a =currentTime - usSesh.getLastUseOfSession();
if ( (currentTime - usSesh.getLastUseOfSession())/1000 > clearTime)
{
gameSessionToSession.remove(usSesh.getSessionId());
}
}
}