Package groovy.lang

Class ObjectRange

All Implemented Interfaces:
Range<Comparable>, Iterable<Comparable>, Collection<Comparable>, List<Comparable>

public class ObjectRange extends AbstractList<Comparable> implements Range<Comparable>
Represents an inclusive list of objects from a value to a value using comparators.

Note: This class is similar to IntRange. If you make any changes to this class, you might consider making parallel changes to IntRange.