// Return the previous node based on the referenceNode private LLNode<E> getPrev(LLNode<E> referenceNode) { if (referenceNode == head) { throw new BoundaryViolationException("Reference cannot be equal to head"); } return referenceNode.getPrev(); }