public class ContainerList<E> extends ContainerCollection<E> implements IContainerList<E>
container list
.Modifier and Type | Class and Description |
---|---|
class |
ContainerList.DelegatingListIterator
A delegating
list iterator . |
AbstractDelegator.DelegatingIterator
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Constructor and Description |
---|
ContainerList(java.util.List<E> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
E element) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
E |
get(int index) |
java.util.List<E> |
getDelegate() |
int |
indexOf(java.lang.Object o) |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<E> |
listIterator() |
java.util.ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
E |
set(int index,
E element) |
java.util.List<E> |
subList(int fromIndex,
int toIndex) |
add, addAll, clear, contains, containsAll, equals, getElements, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
createEvent, dispatchEvent, fireAddedEvent, fireRemovedEvent
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
public ContainerList(java.util.List<E> delegate)
public java.util.List<E> getDelegate()
getDelegate
in interface IContainerCollection<E>
getDelegate
in interface IContainerList<E>
getDelegate
in class ContainerCollection<E>
public void add(int index, E element)
add
in interface java.util.List<E>
public boolean addAll(int index, java.util.Collection<? extends E> c)
addAll
in interface java.util.List<E>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<E>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<E>
public java.util.ListIterator<E> listIterator()
listIterator
in interface java.util.List<E>
public java.util.ListIterator<E> listIterator(int index)
listIterator
in interface java.util.List<E>
public E remove(int index)
remove
in interface java.util.List<E>
public E set(int index, E element)
set
in interface java.util.List<E>
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html