Code example for ListIterator

Methods: hasPrevious

0
      this.listIterator = listIterator;
    } 
 
    @Override 
    public boolean hasNext() { 
      return listIterator.hasPrevious();
    } 
 
    @Override 
    public U next() { 
      return listIterator.previous();
    } 
 
    @Override 
    public void remove() { 
      listIterator.remove();
    } 
  } 
}