Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/util/TypedCollections.hpp>
Inherits WrapperCollections::AbstractWrapperList.
Typed wrapper over List interface.
Public Types |
||||
| typedef spec::Handle | Handle | |||
| TypedList<T> Handle definition. | ||||
| typedef spec::View | View | |||
| TypedList<T> View definition. | ||||
| typedef spec::Holder | Holder | |||
| TypedList<T> Holder definition. | ||||
| typedef T | ValueType | |||
| The type of the objects stored in this list, e.g. | ||||
| typedef TypedIterator < ValueType > |
Iterator | |||
| The type of the iterator over this list. | ||||
| typedef TypedListIterator < ValueType > |
ListIterator | |||
| The type of the list iterator over this list. | ||||
Public Member Functions |
||||
| virtual ValueType | getTyped (size32_t i) const | |||
| The typed version of the method List::get. | ||||
| virtual bool | contains (ValueType v) const | |||
| The typed version of the method Collection::contains. | ||||
| virtual TypedList::Iterator::Handle |
iteratorTyped () const | |||
| The typed version of the method Collection::iterator. | ||||
| virtual coherence::util::Iterator::Handle |
iterator () const | |||
Return an Iterator over this collection.
|
||||
| virtual coherence::util::Muterator::Handle |
iterator () | |||
Return an Iterator over this collection.
|
||||
| virtual TypedList::ListIterator::Handle |
listIteratorTyped () const | |||
| The typed version of the method List::listIterator. | ||||
| virtual TypedList::ListIterator::Handle |
listIteratorTyped () | |||
| The typed version of the method List::listIterator. | ||||
| virtual coherence::util::ListIterator::Handle |
listIterator () const | |||
| virtual coherence::util::ListMuterator::Handle |
listIterator () | |||
| virtual TypedList::ListIterator::Handle |
listIteratorTyped (size32_t i) const | |||
| The typed version of the method Collection::iterator. | ||||
| virtual TypedList::ListIterator::Handle |
listIteratorTyped (size32_t i) | |||
| The typed version of the method Collection::iterator. | ||||
| virtual coherence::util::ListIterator::Handle |
listIterator (size32_t i) const | |||
Return a ListIterator for this list starting at index.
|
||||
| virtual coherence::util::ListMuterator::Handle |
listIterator (size32_t i) | |||
Return a ListIterator for this list starting at index.
|
||||
| virtual bool | add (ValueType v) | |||
| The typed version of the method List::add. | ||||
| virtual ValueType | set (size32_t idx, ValueType v) | |||
| The typed version of the method List::set. | ||||
| virtual bool | remove (ValueType v) | |||
| The typed version of the method Collection::remove. | ||||
| virtual ValueType | removeTyped (size32_t idx) | |||
| The typed version of the method Collection::remove. | ||||
| virtual bool | addAll (typename TypedCollection< ValueType >::View vtc) | |||
| The typed version of the method Collection::addAll. | ||||
| virtual bool | addAll (typename TypedCollection< ValueType >::Handle htc) | |||
| The typed version of the method Collection::addAll. | ||||
| virtual bool | addAll (typename TypedList< ValueType >::View vtl) | |||
| The typed version of the method Collection::addAll. | ||||
| virtual bool | addAll (typename TypedList< ValueType >::Handle htl) | |||
| The typed version of the method Collection::addAll. | ||||
| virtual bool | removeAll (typename TypedCollection< ValueType >::View vtc) | |||
| The typed version of the method Collection::removeAll. | ||||
| virtual bool | removeAll (typename TypedCollection< ValueType >::Handle htc) | |||
| The typed version of the method Collection::removeAll. | ||||
| virtual bool | removeAll (typename TypedList< ValueType >::View vtl) | |||
| The typed version of the method Collection::removeAll. | ||||
| virtual bool | removeAll (typename TypedList< ValueType >::Handle htl) | |||
| The typed version of the method Collection::removeAll. | ||||
| virtual bool | retainAll (typename TypedCollection< ValueType >::View vtc) | |||
| The typed version of the method Collection::retainAll. | ||||
| virtual bool | retainAll (typename TypedCollection< ValueType >::Handle htc) | |||
| The typed version of the method Collection::retainAll. | ||||
| virtual bool | retainAll (typename TypedList< ValueType >::View vtl) | |||
| The typed version of the method Collection::retainAll. | ||||
| virtual bool | retainAll (typename TypedList< ValueType >::Handle htl) | |||
| The typed version of the method Collection::retainAll. | ||||
| virtual TypedCollection < ValueType > ::Handle |
asTypedCollection () | |||
| Convert a TypedList to a TypedCollection, wrapping the same underlying Collection::Handle. | ||||
| virtual TypedCollection < ValueType >::View |
asTypedCollection () const | |||
| Convert a TypedList to a TypedCollection, wrapping the same underlying Collection::View. | ||||
| virtual TypedList::Handle | subListTyped (size32_t fromIndex, size32_t toIndex) | |||
| The typed version of the method Collection::subList. | ||||
| virtual TypedList::Handle | subListTyped (size32_t fromIndex, size32_t toIndex) const | |||
| The typed version of the method Collection::subList. | ||||
Protected Member Functions |
||||
| TypedList (List::Holder ohListDelegate) | ||||
| Create a new TypedList over the given List. | ||||
| TypedList (const TypedList &that) | ||||
| Copy constructor. | ||||
| typedef T ValueType |
The type of the objects stored in this list, e.g.
| TypedList | ( | List::Holder | ohListDelegate | ) | [inline, protected] |
| virtual ValueType getTyped | ( | size32_t | i | ) | const [inline, virtual] |
The typed version of the method List::get.
Return the element from the specified position in the list.
| i | the position of the item to return |
| coherence::lang::IndexOutOfBoundsException | if the index is out of range | |
| ClassCastException | if the typed map is broken by external usage |
| virtual bool contains | ( | ValueType | v | ) | const [inline, virtual] |
The typed version of the method Collection::contains.
Return true if this list contains the specified element.
| v | element whose presence in this list is to be tested |
| virtual TypedList::Iterator::Handle iteratorTyped | ( | ) | const [inline, virtual] |
The typed version of the method Collection::iterator.
Return a handle to an TypedIterator over the elements in this list.
| virtual TypedList::ListIterator::Handle listIteratorTyped | ( | ) | const [inline, virtual] |
The typed version of the method List::listIterator.
Return a handle to an TypedListIterator over the elements in this list.
| virtual TypedList::ListIterator::Handle listIteratorTyped | ( | ) | [inline, virtual] |
The typed version of the method List::listIterator.
Return a handle to an TypedListIterator over the elements in this list.
| virtual TypedList::ListIterator::Handle listIteratorTyped | ( | size32_t | i | ) | const [inline, virtual] |
The typed version of the method Collection::iterator.
Return a handle to an TypedList Iterator over the elements in this list starting at the position specified.
| i | the position in the list that the iterator will start at |
| virtual TypedList::ListIterator::Handle listIteratorTyped | ( | size32_t | i | ) | [inline, virtual] |
The typed version of the method Collection::iterator.
Return a handle to an TypedList Iterator over the elements in this list starting at the position specified.
| i | the position in the list that the iterator will start at |
| virtual bool add | ( | ValueType | v | ) | [inline, virtual] |
The typed version of the method List::add.
Add the specified element to this list if it is not already present.
| v | element to be added to this list. |
| coherence::lang::UnsupportedOperationException | if the add() operation is not supported by this list |
The typed version of the method List::set.
Replace the element at the specified position in this list with the specified element.
| idx | the position in the list to replace | |
| v | the object to replace at the specified position |
| coherence::lang::IndexOutOfBoundsException | if the index is out of range |
| virtual bool remove | ( | ValueType | v | ) | [inline, virtual] |
The typed version of the method Collection::remove.
Remove the specified element from this list, if it is present.
| v | element to be removed from this list, if present |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
| virtual ValueType removeTyped | ( | size32_t | idx | ) | [inline, virtual] |
The typed version of the method Collection::remove.
Remove the element at the specified position in the list.
| idx | the index from which to remove an element |
| coherence::lang::IndexOutOfBoundsException | if the index is out of range |
| virtual bool addAll | ( | typename TypedCollection< ValueType >::View | vtc | ) | [inline, virtual] |
The typed version of the method Collection::addAll.
Add all of the elements in the specified TypedCollection to this list.
| vtc | TypedCollection of elements to be inserted into this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the add() operation is not supported by this list |
| virtual bool addAll | ( | typename TypedCollection< ValueType >::Handle | htc | ) | [inline, virtual] |
The typed version of the method Collection::addAll.
Add all of the elements in the specified TypedCollection to this list.
| htc | TypedCollection of elements to be inserted into this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the add() operation is not supported by this list |
The typed version of the method Collection::addAll.
Add all of the elements in the specified TypedList to this list.
| vtl | TypedList of elements to be inserted into this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the add() operation is not supported by this list |
The typed version of the method Collection::addAll.
Add all of the elements in the specified TypedList to this list.
| htl | TypedList of elements to be inserted into this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the add() operation is not supported by this list |
| virtual bool removeAll | ( | typename TypedCollection< ValueType >::View | vtc | ) | [inline, virtual] |
The typed version of the method Collection::removeAll.
Remove all this list's elements that are also contained in the specified typed collection.
| vtc | elements to be removed from this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
| virtual bool removeAll | ( | typename TypedCollection< ValueType >::Handle | htc | ) | [inline, virtual] |
The typed version of the method Collection::removeAll.
Remove all this list's elements that are also contained in the specified typed collection.
| htc | elements to be removed from this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
The typed version of the method Collection::removeAll.
Remove all this list's elements that are also contained in the specified typed list.
| vtl | elements to be removed from this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
The typed version of the method Collection::removeAll.
Remove all this list's elements that are also contained in the specified typed list.
| htl | elements to be removed from this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
| virtual bool retainAll | ( | typename TypedCollection< ValueType >::View | vtc | ) | [inline, virtual] |
The typed version of the method Collection::retainAll.
Retain only the elements in this list that are contained in the specified typed collection.
| vtc | elements to be retained in this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
| virtual bool retainAll | ( | typename TypedCollection< ValueType >::Handle | htc | ) | [inline, virtual] |
The typed version of the method Collection::retainAll.
Retain only the elements in this list that are contained in the specified typed collection.
| htc | elements to be retained in this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
The typed version of the method Collection::retainAll.
Retain only the elements in this list that are contained in the specified typed list.
| vtl | elements to be retained in this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
The typed version of the method Collection::retainAll.
Retain only the elements in this list that are contained in the specified typed list.
| htl | elements to be retained in this list |
| coherence::lang::NullPointerException | if the specified collection is NULL | |
| coherence::lang::UnsupportedOperationException | if the remove() operation is not supported by this list |
| virtual TypedCollection<ValueType>::Handle asTypedCollection | ( | ) | [inline, virtual] |
Convert a TypedList to a TypedCollection, wrapping the same underlying Collection::Handle.
| virtual TypedCollection<ValueType>::View asTypedCollection | ( | ) | const [inline, virtual] |
Convert a TypedList to a TypedCollection, wrapping the same underlying Collection::View.
| virtual TypedList::Handle subListTyped | ( | size32_t | fromIndex, | |
| size32_t | toIndex | |||
| ) | [inline, virtual] |
The typed version of the method Collection::subList.
Return a new typed list containing the contents of the list between the specified fromIndex (inclusive) and toIndex (exclusive).
| fromIndex | the start position in this list to create the sublist from (inclusive). | |
| toIndex | the end position in this list to end the sublist at (exclusive). |
| virtual TypedList::Handle subListTyped | ( | size32_t | fromIndex, | |
| size32_t | toIndex | |||
| ) | const [inline, virtual] |
The typed version of the method Collection::subList.
Return a new typed list containing the contents of the list between the specified fromIndex (inclusive) and toIndex (exclusive).
| fromIndex | the start position in this list to create the sublist from (inclusive). | |
| toIndex | the end position in this list to end the sublist at (exclusive). |
The documentation for this class was generated from the following file: