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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, containsAll, equals, hashCode, isEmpty, replaceAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected 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 Iterable
iterator
in interface Collection
iterator
in interface List
iterator
in class AbstractCollection
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public boolean add(Object o)
add
in interface Collection
add
in interface List
add
in class AbstractCollection
public boolean remove(Object o)
remove
in interface Collection
remove
in interface List
remove
in class AbstractCollection
public boolean addAll(Collection c)
addAll
in interface Collection
addAll
in interface List
addAll
in class AbstractCollection
public void clear()
clear
in interface Collection
clear
in interface List
clear
in class AbstractCollection
public boolean retainAll(Collection c)
retainAll
in interface Collection
retainAll
in interface List
retainAll
in class AbstractCollection
public boolean removeAll(Collection c)
removeAll
in interface Collection
removeAll
in interface List
removeAll
in class AbstractCollection
public int lastIndexOf(Object o)
lastIndexOf
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int index)
listIterator
in interface List
public List<ReferenceListRecipe.ServiceDispatcher> subList(int fromIndex, int toIndex)
public boolean addAll(int index, Collection c)
Copyright © 2016. All rights reserved.