|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
groovy.lang.Sequence
groovy.lang.NonEmptySequence
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.
Constructor Summary | |
NonEmptySequence()
|
|
NonEmptySequence(Class type)
|
|
NonEmptySequence(Class type, List content)
|
Method Summary | |
---|---|
int
|
minimumSize()
|
Methods inherited from class Sequence | |
---|---|
add, add, addAll, addAll, checkCollectionType, checkType, clear, equals, equals, getMetaClass, getProperty, hashCode, invokeMethod, minimumSize, remove, removeRange, set, set, setMetaClass, setProperty, type |
Methods inherited from class ArrayList | |
---|---|
add, add, remove, remove, get, clone, indexOf, clear, size, isEmpty, lastIndexOf, contains, addAll, addAll, toArray, toArray, iterator, set, ensureCapacity, trimToSize, removeAll, retainAll, subList, listIterator, listIterator, equals, hashCode, toString, containsAll, wait, wait, wait, getClass, notify, notifyAll |
Methods inherited from class AbstractList | |
---|---|
add, add, remove, get, equals, hashCode, indexOf, clear, lastIndexOf, addAll, iterator, set, subList, listIterator, listIterator, remove, toString, size, isEmpty, contains, addAll, toArray, toArray, removeAll, containsAll, retainAll, wait, wait, wait, getClass, notify, notifyAll, size |
Methods inherited from class AbstractCollection | |
---|---|
add, remove, toString, clear, size, isEmpty, contains, addAll, toArray, toArray, iterator, removeAll, containsAll, retainAll, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public NonEmptySequence()
public NonEmptySequence(Class type)
public NonEmptySequence(Class type, List content)
Method Detail |
---|
public int minimumSize()
Copyright © 2003-2009 The Codehaus. All rights reserved.