/** * Check if the NFA has finished processing all incoming data so far. That is * when the buffer keeping the matches is empty. * * @return {@code true} if there are no elements in the {@link SharedBuffer}, * {@code false} otherwise. */ public boolean isEmpty() { return eventSharedBuffer.isEmpty(); }