E - The type of element managed by the collection.public interface Accessible<E> extends Iteratable<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 |
containsAllElementsIn(java.lang.Iterable<? extends E> elements)
This method determines whether all of the specified elements are contained in
the collection.
|
boolean |
containsAnyElementsIn(java.lang.Iterable<? extends E> elements)
This method determines whether any of the specified elements are contained in
the collection.
|
boolean |
containsElement(E element)
This method determines if an element is contained in 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.
|
createDefaultIterator, removeAllElementsgetNumberOfElements, isEmpty, iterator, toArrayboolean containsElement(E element)
element - The element to be checked for in the collection.boolean containsAnyElementsIn(java.lang.Iterable<? extends E> elements)
elements - The elements to be checked for in the collection.boolean containsAllElementsIn(java.lang.Iterable<? extends E> elements)
elements - The elements to be checked for in 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 © 2014 Crater Dog Technologies(TM). All rights reserved.