Code example for TreeSet

Methods: iterator

0
m_collection = in;
		} 
		public void first() 
		{ 
			m_it = m_collection.m_data.iterator();
			next(); 
		} 
		public void next() 
		{ 
			try 
			{ 
				m_current = (Integer)m_it.next();
			} 
			catch (NoSuchElementException ex)
			{ 
				m_current =  - 999;
			} 
		} 
		public boolean is_done() 
		{