hasNext method

bool hasNext()

Implementation

bool hasNext() {
  if (nextNode == null) return false;
  return true;
}