public static class ReferenceListRecipe.ManagedCollection extends AbstractCollection implements List, RandomAccess
| Modifier and Type | Class and Description |
|---|---|
class |
ReferenceListRecipe.ManagedCollection.ManagedListIterator |
| Modifier and Type | Field and Description |
|---|---|
protected DynamicCollection<ReferenceListRecipe.ServiceDispatcher> |
dispatchers |
protected boolean |
references |
| Constructor and Description |
|---|
ManagedCollection(boolean references,
DynamicCollection<ReferenceListRecipe.ServiceDispatcher> dispatchers) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
boolean |
addAll(int index,
Collection c) |
boolean |
addDispatcher(ReferenceListRecipe.ServiceDispatcher dispatcher) |
void |
clear() |
Object |
get(int index) |
DynamicCollection<ReferenceListRecipe.ServiceDispatcher> |
getDispatchers() |
int |
indexOf(Object o) |
Iterator |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int index) |
Object |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
removeDispatcher(ReferenceListRecipe.ServiceDispatcher dispatcher) |
boolean |
retainAll(Collection c) |
Object |
set(int index,
Object element) |
int |
size() |
List<ReferenceListRecipe.ServiceDispatcher> |
subList(int fromIndex,
int toIndex) |
contains, containsAll, isEmpty, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, containsAll, equals, hashCode, isEmpty, replaceAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamprotected final DynamicCollection<ReferenceListRecipe.ServiceDispatcher> dispatchers
protected boolean references
public ManagedCollection(boolean references,
DynamicCollection<ReferenceListRecipe.ServiceDispatcher> dispatchers)
public boolean addDispatcher(ReferenceListRecipe.ServiceDispatcher dispatcher)
public boolean removeDispatcher(ReferenceListRecipe.ServiceDispatcher dispatcher)
public DynamicCollection<ReferenceListRecipe.ServiceDispatcher> getDispatchers()
public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Listiterator in class AbstractCollectionpublic int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic boolean add(Object o)
add in interface Collectionadd in interface Listadd in class AbstractCollectionpublic boolean remove(Object o)
remove in interface Collectionremove in interface Listremove in class AbstractCollectionpublic boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface ListaddAll in class AbstractCollectionpublic void clear()
clear in interface Collectionclear in interface Listclear in class AbstractCollectionpublic boolean retainAll(Collection c)
retainAll in interface CollectionretainAll in interface ListretainAll in class AbstractCollectionpublic boolean removeAll(Collection c)
removeAll in interface CollectionremoveAll in interface ListremoveAll in class AbstractCollectionpublic int lastIndexOf(Object o)
lastIndexOf in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int index)
listIterator in interface Listpublic List<ReferenceListRecipe.ServiceDispatcher> subList(int fromIndex, int toIndex)
public boolean addAll(int index,
Collection c)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.