org.jvnet.hyperjaxb3.item
Class AbstractItemList<ListType,ItemType extends Item<ListType>>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<ListType>
org.jvnet.hyperjaxb3.item.AbstractItemList<ListType,ItemType>
- All Implemented Interfaces:
- Serializable, Iterable<ListType>, Collection<ListType>, List<ListType>, ItemList<ListType,ItemType>
- Direct Known Subclasses:
- DefaultItemList
public abstract class AbstractItemList<ListType,ItemType extends Item<ListType>>
- extends AbstractList<ListType>
- implements ItemList<ListType,ItemType>, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
| Methods inherited from interface org.jvnet.hyperjaxb3.item.ItemList |
create |
| Methods inherited from interface java.util.List |
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray |
core
protected final List<ItemType extends Item<ListType>> core
AbstractItemList
public AbstractItemList(List<ItemType> core)
get
public ListType get(int index)
- Specified by:
get in interface List<ListType>- Specified by:
get in class AbstractList<ListType>
set
public ListType set(int index,
ListType element)
- Specified by:
set in interface List<ListType>- Overrides:
set in class AbstractList<ListType>
add
public void add(int index,
ListType element)
- Specified by:
add in interface List<ListType>- Overrides:
add in class AbstractList<ListType>
remove
public ListType remove(int index)
- Specified by:
remove in interface List<ListType>- Overrides:
remove in class AbstractList<ListType>
size
public int size()
- Specified by:
size in interface Collection<ListType>- Specified by:
size in interface List<ListType>- Specified by:
size in class AbstractCollection<ListType>
Copyright © 2005-2011. All Rights Reserved.