code: @Override
  	public Geometry next() {
  		Geometry geometry;
  		if ((geometry = m_inputGeometryCursor.next()) != null)// if (geometry =
  																// m_inputGeometryCursor->Next())
  		{
  			m_index = m_inputGeometryCursor.getGeometryID();
  			if ((m_progressTracker != null)
  					&& !(m_progressTracker.progress(-1, -1)))
  				throw new RuntimeException("user_canceled");
  			return simplify(geometry);
  		}
  		return null;
  	}
docs: Reviewed vs. Feb 8 2011