Package com.plotsquared.core.plot
Class PlotId.PlotRangeIterator
java.lang.Object
com.plotsquared.core.plot.PlotId.PlotRangeIterator
- Enclosing class:
- PlotId
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()iterator()next()static PlotId.PlotRangeIteratorReturns a newPlotId.PlotRangeIteratorthat iterates over the range of Plots between the specified start and end Plots (inclusive).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Method Details
-
range
Returns a newPlotId.PlotRangeIteratorthat iterates over the range of Plots between the specified start and end Plots (inclusive).- Parameters:
start- the starting Plot of the rangeend- the ending Plot of the range- Returns:
- a new
PlotId.PlotRangeIteratorthat iterates over the range of Plots between the specified start and end Plots (inclusive)
-
hasNext
-
next
-
iterator
-