Package groovy.lang

Class Sequence

All Implemented Interfaces:
GroovyObject, Serializable, Cloneable, Iterable, Collection, List, RandomAccess
Direct Known Subclasses:
NonEmptySequence

public class Sequence
extends ArrayList
implements GroovyObject
Represents a sequence of zero or more objects of a given type. The type can be omitted in which case any type of object can be added.
See Also:
Serialized Form