Making AbstractNodeQueue.Node genericised