groovy.lang
Class NonEmptySequence
java.lang.Object
   java.util.AbstractCollection<E>
java.util.AbstractCollection<E>
       java.util.AbstractList<E>
java.util.AbstractList<E>
           java.util.ArrayList
java.util.ArrayList
               groovy.lang.Sequence
groovy.lang.Sequence
                   groovy.lang.NonEmptySequence
groovy.lang.NonEmptySequence
- All Implemented Interfaces: 
- GroovyObject, Serializable, Cloneable, Iterable, Collection, List, RandomAccess
- public class NonEmptySequence 
- extends Sequence
Represents a sequence of objects which represents one or many instances of
 of objects of a given type. The type can be ommitted in which case any type of
 object can be added.
- Version:
- $Revision: 6778 $
- Author:
- James Strachan
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class groovy.lang.Sequence | 
| add, add, addAll, addAll, checkCollectionType, checkType, clear, equals, equals, getMetaClass, getProperty, hashCode, invokeMethod, remove, removeRange, set, set, setMetaClass, setProperty, type | 
 
| Methods inherited from class java.util.ArrayList | 
| clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, size, subList, toArray, toArray, trimToSize | 
 
 
 
 
NonEmptySequence
public NonEmptySequence()
NonEmptySequence
public NonEmptySequence(Class type)
NonEmptySequence
public NonEmptySequence(Class type,
                        List content)
minimumSize
public int minimumSize()
- 
- Overrides:
- minimumSizein class- Sequence
 
-