Groovy 1.7.4

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 \$


Method Summary
 
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
 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Copyright © 2003-2010 The Codehaus. All rights reserved.