private void addToBuffer(final String[] lines) {
    final int index = 0;

    for (int i = 0; i < lines.length; ++i) {
      while ((m_maxSize - m_buffer.size()) <= 0) {
        m_buffer.remove();
      }
      m_buffer.add(lines[index]);
    }
  }
Creates a new instance of the circular string buffer.

@param maxLines The maximum number of lines which are held by the string buffer.
java/zylib/src/main/java/com/google/security/zynamics/zylib/strings/CircularStringBuffer.java