E - The type of element managed by the collection.public interface Accessible<E>
| Modifier and Type | Method and Description |
|---|---|
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.
|
Iterator<E> |
createDefaultIterator()
This method creates a new default iterator for the collection.
|
E |
getElementAtIndex(int index)
This method returns the element at the specified index.
|
Accessible<E> |
getElementsInRange(int firstIndex,
int lastIndex)
This method returns a collection of the elements in the specified index range.
|
int |
getIndexOfElement(E element)
This method return the index of the specified element, or zero if the element
is not found.
|
void |
removeAllElements()
This method removes all elements from the collection.
|
Iterator<E> createDefaultIterator()
boolean 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.int getIndexOfElement(E element)
element - The element to be checked for in the collection.E getElementAtIndex(int index)
index - The index of the element to be returned.Accessible<E> getElementsInRange(int firstIndex, int lastIndex)
firstIndex - The index of the first element to be returned.lastIndex - the index of the last element to be returned.void removeAllElements()
Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.