public override int Peek() { if (currentNode == null) return -1; return currentNode.contents[indexInsideNode]; }