code: private boolean insert(T element) {
          if (!entries.containsKey(element)) {
              head = createEntry(element, head);
              entries.put(element, head);
              return true;
          }
          return false;
      }
docs: Inserts a new element at the head of the set.
  Note: This method is expected to be synchronized by the calling code