groovy.lang
[Java] Interface Range
groovy.lang.Range
java.lang.Iterable
java.util.Collection
public interface Range
extends List
A Range represents the list of all items obtained by starting from a
from value and calling next() successively
until you reach the to value. For a reverse range,
the list is obtained by starting at the to value and
successively calling previous() until the from
value is reached.
- Authors:
- James Strachan
- Version:
- \$Revision: 18729 \$
|
Methods inherited from interface List
|
| add, add, get, equals, hashCode, indexOf, clear, size, isEmpty, lastIndexOf, contains, addAll, addAll, toArray, toArray, iterator, remove, remove, set, removeAll, containsAll, retainAll, subList, listIterator, listIterator |
Copyright © 2003-2010 The Codehaus. All rights reserved.