Return type | Name and parameters |
---|---|
void
|
clear()
Removes all components from the Container. |
Component
|
getAt(int index)
Support the subscript operator for Container. |
Iterator
|
iterator()
Returns an Iterator which traverses the Container one Component at a time. |
Container
|
leftShift(Component c)
Overloads the left shift operator to provide an easy way to add components to a Container. |
int
|
size()
Provide the standard Groovy size() method for Container .
|
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, dump
, each
, eachMatch
, eachMatch
, eachWithIndex
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, isNotCase
, iterator
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, split
, sprintf
, sprintf
, stream
, tap
, toString
, use
, use
, use
, with
, with
, withCloseable
, withStream
, withTraits
Removes all components from the Container.
Support the subscript operator for Container.
index
- the index of the Component to getReturns an Iterator which traverses the Container one Component at a time.
Overloads the left shift operator to provide an easy way to add components to a Container.
c
- a Component to be added to the container.Provide the standard Groovy size()
method for Container
.