groovy.lang
[Java] Interface Range
java.lang.Iterable
java.util.Collection
groovy.lang.Range
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, hashCode, indexOf, clear, equals, contains, isEmpty, lastIndexOf, addAll, addAll, iterator, size, toArray, toArray, remove, remove, set, containsAll, listIterator, listIterator, removeAll, retainAll, subList |
Copyright © 2003-2010 The Codehaus. All rights reserved.