org.jvnet.hyperjaxb3.item
Class DefaultItemList<ListType,ItemType extends Item<ListType>>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<ListType>
          extended by org.jvnet.hyperjaxb3.item.AbstractItemList<ListType,ItemType>
              extended by org.jvnet.hyperjaxb3.item.DefaultItemList<ListType,ItemType>
All Implemented Interfaces:
Serializable, Iterable<ListType>, Collection<ListType>, List<ListType>, ItemList<ListType,ItemType>

public class DefaultItemList<ListType,ItemType extends Item<ListType>>
extends AbstractItemList<ListType,ItemType>
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jvnet.hyperjaxb3.item.AbstractItemList
core
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DefaultItemList(List<ItemType> core, Class<? extends ItemType> itemClass)
           
 
Method Summary
 ItemType create(ListType item)
           
 Class<? extends ItemType> getItemClass()
           
 
Methods inherited from class org.jvnet.hyperjaxb3.item.AbstractItemList
add, get, remove, set, size
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

DefaultItemList

public DefaultItemList(List<ItemType> core,
                       Class<? extends ItemType> itemClass)
Method Detail

getItemClass

public Class<? extends ItemType> getItemClass()

create

public ItemType create(ListType item)
Specified by:
create in interface ItemList<ListType,ItemType extends Item<ListType>>


Copyright © 2005-2014. All Rights Reserved.