Groovy 2.2.1

groovy.lang
[Java] Class NonEmptySequence

java.lang.Object
  java.util.AbstractCollection
      java.util.AbstractList
          java.util.ArrayList
              groovy.lang.Sequence
                  groovy.lang.NonEmptySequence

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 omitted in which case any type of object can be added.

Authors:
James Strachan
Version:
\$Revision\$


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, contains, isEmpty, lastIndexOf, size, subList, toArray, toArray, addAll, addAll, iterator, set, ensureCapacity, trimToSize, retainAll, listIterator, listIterator, removeAll, equals, hashCode, toString, containsAll, wait, wait, wait, getClass, notify, notifyAll
 

Constructor Detail

NonEmptySequence

public NonEmptySequence()


NonEmptySequence

public NonEmptySequence(Class type)


NonEmptySequence

public NonEmptySequence(Class type, List content)


 
Method Detail

minimumSize

public int minimumSize()


 

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