E - The type of the elements being stored in the
Elements.MutableElements.public interface Elements<E>
Elements (collection) style
class.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Elements.ClearableElements<E>
|
static interface |
Elements.MutableElements<E>
Extends the
Elements with mutable (writable) functionality,
especially by enabling the Iterator.remove() method in the
Iterator provided via Elements.MutableElements.iterator() and by providing the
Elements.MutableElements.add(Object) and the Elements.MutableElements.remove(Object) methods. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(E aElement)
Tests whether the specified object is an element of the
Elements
(collection). |
Iterator<E> |
iterator()
Returns an
Iterator instance of all the data elements contained
in the Elements (collection).
-------------------------------------------------------------------------
ATTENTION: The Iterator.remove() method may be disabled in the
returned Iterator instance as the Elements is supposed to
be read-only. |
Iterator<E> iterator()
Iterator instance of all the data elements contained
in the Elements (collection).
-------------------------------------------------------------------------
ATTENTION: The Iterator.remove() method may be disabled in the
returned Iterator instance as the Elements is supposed to
be read-only.boolean contains(E aElement)
Copyright © 2016. All rights reserved.