public void add_span(int x, int len, int nothing) { if (m_x >= x && m_x < x + len) m_hit = true; } public int num_spans() { return 1; }