addItem Last update: 18.06.2026 public addItem(name: String, link: String): Int *************************************************************************** adds a new entry to the monitor with the given name and link Return returns -1 if the linking failed and the entry was not added or the index of the entry if it was successfully added and linked Parameters name the name of the entry link the full name of the item to which the entry will be linked