| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ComponentList(List<? extends T> components)
Create new component list containing the components in the specified list. |
| Modifier and Type | Method and Description |
|---|---|
| public ContentCollection | |
| public ContentCollection | |
| public int | compareTo(ComponentList<? extends Component>
the object to be compared. o)Implements java. Compares this object with the specified object for order. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | |
| public final <R extends T> Optional | Returns: a component or null if no matching component foundname of component to return aName)
Deprecated
use
ComponentList#getFirst(String)
Returns the first component of specified name. |
| public final <C extends T> List | Returns: a list of components with the matching namename of components to return name)
Deprecated
use
ContentCollection#get(String.
Returns a list containing all components with specified name. |
| public int | |
| public ContentCollection | |
| public ContentCollection | |
| public ContentCollection | |
| public ContentCollection | |
| public final String |
| components | back to summary |
|---|---|
| private final List<T> components | |
| ComponentList | back to summary |
|---|---|
| public ComponentList() Default constructor. | |
| ComponentList | back to summary |
|---|---|
| public ComponentList(List<? extends T> components) Create new component list containing the components in the specified list. | |
| add | back to summary |
|---|---|
| public ContentCollection Implements net.
| |
| addAll | back to summary |
|---|---|
| public ContentCollection Implements net.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(ComponentList<? extends Component> o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAll | back to summary |
|---|---|
| public List Implements net.
| |
| getComponent | back to summary |
|---|---|
| public final <R extends T> Optional Deprecated Returns the first component of specified name. | |
| getComponents | back to summary |
|---|---|
| public final <C extends T> List Deprecated Returns a list containing all components with specified name. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| remove | back to summary |
|---|---|
| public ContentCollection Implements net.
| |
| removeAll | back to summary |
|---|---|
| public ContentCollection Implements net.
| |
| removeIf | back to summary |
|---|---|
| public ContentCollection Implements net.
| |
| replace | back to summary |
|---|---|
| public ContentCollection Implements net.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |