E - The type of element managed by the collection.public abstract class OpenCollection<E> extends Collection<E>
| Constructor and Description |
|---|
OpenCollection() |
| Modifier and Type | Method and Description |
|---|---|
abstract 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.
|
abstract 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.
|
containsAll, containsAny, containsElement, getElement, getElements, getIndex, normalizedIndex, removeAllcompareTo, equals, hashCode, toArrayaddSerializableClass, addSerializableClass, addSerializableClass, copy, createMapper, fromString, fromString, toExposedString, toString, toString, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic abstract boolean addElement(E element)
element - The new element to be added.public int addElements(E[] elements)
elements - The array of new elements to be added.public int addElements(java.lang.Iterable<? extends E> elements)
elements - The list of new elements to be added.public abstract boolean removeElement(E element)
element - The element to be removed.public int removeElements(E[] elements)
elements - The array of elements to be removed from the collection.public int removeElements(java.lang.Iterable<? extends E> elements)
elements - The list of elements to be removed from the collection.Copyright © 2016 Crater Dog Technologies(TM). All rights reserved.