E - The type of element managed by the collection.public interface Dynamic<E>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addElement(E element)
This method adds a new element to the collection.
|
int |
addElements(E[] elements)
This method adds an array of new elements to the collection.
|
int |
addElements(java.lang.Iterable<? extends E> elements)
This method adds a list of new elements to the collection.
|
boolean |
removeElement(E element)
This method removes the specified element from the collection.
|
int |
removeElements(E[] elements)
This method removes the elements in the specified array from the collection.
|
int |
removeElements(java.lang.Iterable<? extends E> elements)
This method removes the specified elements from the collection.
|
boolean addElement(E element)
element - The new element to be added.int addElements(E[] elements)
elements - The array of new elements to be added.int addElements(java.lang.Iterable<? extends E> elements)
elements - The list of new elements to be added.boolean removeElement(E element)
element - The element to be removed.int removeElements(E[] elements)
elements - The array of elements to be removed from the collection.int removeElements(java.lang.Iterable<? extends E> elements)
elements - The list of elements to be removed from the collection.Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.