com.liferay.portal.xml
Class NodeList<E,F>

java.lang.Object
  extended by com.liferay.portal.kernel.util.ListWrapper<E>
      extended by com.liferay.portal.kernel.util.TranslatedList<E,F>
          extended by com.liferay.portal.xml.NodeList<E,F>
All Implemented Interfaces:
java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>

public class NodeList<E,F>
extends com.liferay.portal.kernel.util.TranslatedList<E,F>

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
NodeList(java.util.List<E> newList, java.util.List<F> oldList)
           
 
Method Summary
protected  com.liferay.portal.kernel.util.TranslatedList<E,F> newInstance(java.util.List<E> newList, java.util.List<F> oldList)
           
protected  F toOldObject(E o)
           
 
Methods inherited from class com.liferay.portal.kernel.util.TranslatedList
add, add, addAll, addAll, remove, remove, removeAll, retainAll, set, subList
 
Methods inherited from class com.liferay.portal.kernel.util.ListWrapper
clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, size, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

NodeList

public NodeList(java.util.List<E> newList,
                java.util.List<F> oldList)
Method Detail

newInstance

protected com.liferay.portal.kernel.util.TranslatedList<E,F> newInstance(java.util.List<E> newList,
                                                                         java.util.List<F> oldList)
Specified by:
newInstance in class com.liferay.portal.kernel.util.TranslatedList<E,F>

toOldObject

protected F toOldObject(E o)
Specified by:
toOldObject in class com.liferay.portal.kernel.util.TranslatedList<E,F>