E
- @StorableClass public class PSubList<E> extends PAbstractList<E>
instanceFactory
Constructor and Description |
---|
PSubList(IInstanceFactory instanceFactory,
List<E> list,
int fromIndex,
int toIndex) |
PSubList(List<E> list,
int fromIndex,
int toIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E element) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> collection) |
boolean |
addAll(int index,
Collection<? extends E> collection) |
void |
clear() |
boolean |
equals(Object object) |
E |
get(int index) |
int |
hashCode() |
Iterator<E> |
iterator() |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
static PSubList |
newInstance(IInstanceFactory instanceFactory,
List list,
int fromIndex,
int toIndex) |
E |
remove(int index) |
E |
set(int index,
E element) |
int |
size() |
List<E> |
subList(int fromIndex,
int toIndex) |
indexOf, lastIndexOf
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public PSubList(IInstanceFactory instanceFactory, List<E> list, int fromIndex, int toIndex)
public static PSubList newInstance(IInstanceFactory instanceFactory, List list, int fromIndex, int toIndex)
public void clear()
clear
in interface Collection<E>
clear
in interface List<E>
clear
in class PAbstractCollection<E>
public ListIterator<E> listIterator()
listIterator
in interface List<E>
listIterator
in class PAbstractList<E>
public boolean add(E element)
add
in interface Collection<E>
add
in interface List<E>
add
in class PAbstractList<E>
public E get(int index)
public int size()
public void add(int index, E element)
public E remove(int index)
public boolean addAll(Collection<? extends E> collection)
addAll
in interface Collection<E>
addAll
in interface List<E>
addAll
in class PAbstractCollection<E>
public boolean addAll(int index, Collection<? extends E> collection)
public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
listIterator
in class PAbstractList<E>
public boolean equals(Object object)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.