package com.dataStructure.linkedList; public interface Iterator<T> { public boolean hasNext(); public Object next(); }