public boolean hasNext()
true if the result set has a next row; returns false otherwise.public Optional<? extends CalendarEntity> next()
ResultSet to the next row.CalendarEntity object mapped to the next row
of the ResultSet.public int count()
public void close()