Package: groovy.lang

## [Java] Class NonEmptySequence

- groovy.lang.NonEmptySequence

-     public class NonEmptySequence
      extends Sequence

  Represents a sequence of one or more objects of a given type. The type can be omitted in which case any type of object can be added.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `NonEmptySequence ()`
    `NonEmptySequence (Class type)`
    `NonEmptySequence (Class type, List content)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public int` | `minimumSize()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Sequence` | `add, add, addAll, addAll, checkCollectionType, checkType, clear, equals, equals, getMetaClass, getProperty, hashCode, invokeMethod, minimumSize, remove, removeRange, set, set, setMetaClass, setProperty, type`

- - ### Constructor Detail

    - #### public NonEmptySequence()

    - #### public NonEmptySequence(Class type)

    - #### public NonEmptySequence(Class type, List content)

  - ### Method Detail

    - #### public int minimumSize()