addOccurrence abstract method

void addOccurrence(
  1. Element element,
  2. int offset
)

Add an occurrence of the given element at the given offset.

Implementation

void addOccurrence(Element element, int offset);