org.zkoss.bind.proxy
Class ListProxy<E>
java.lang.Object
org.zkoss.bind.proxy.AbstractCollectionProxy<E>
org.zkoss.bind.proxy.ListProxy<E>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, javassist.util.proxy.Proxy, FormProxyObject, FormProxyObjectListener
public class ListProxy<E>
- extends AbstractCollectionProxy<E>
- implements java.util.List<E>
A list proxy
- Since:
- 8.0.0
- Author:
- jumperchen
- See Also:
- Serialized Form
Constructor Summary |
ListProxy(java.util.Collection<E> origin,
java.lang.annotation.Annotation[] callerAnnots)
|
Methods inherited from class org.zkoss.bind.proxy.AbstractCollectionProxy |
add, addAll, addFormProxyObjectListener, clear, contains, containsAll, getCache, getOriginObject, isEmpty, isFormDirty, iterator, onDataChange, onDirtyChange, remove, removeAll, replaceOrigin, resetFromOrigin, retainAll, setDirty, setFormOwner, setHandler, size, submitToOrigin, testEquals, 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 |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
ListProxy
public ListProxy(java.util.Collection<E> origin,
java.lang.annotation.Annotation[] callerAnnots)
initCache
protected java.util.Collection<E> initCache()
- Specified by:
initCache
in class AbstractCollectionProxy<E>
addAll
public boolean addAll(int index,
java.util.Collection<? extends E> c)
- Specified by:
addAll
in interface java.util.List<E>
get
public E get(int index)
- Specified by:
get
in interface java.util.List<E>
set
public E set(int index,
E element)
- Specified by:
set
in interface java.util.List<E>
add
public void add(int index,
E element)
- Specified by:
add
in interface java.util.List<E>
remove
public E remove(int index)
- Specified by:
remove
in interface java.util.List<E>
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interface java.util.List<E>
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interface java.util.List<E>
listIterator
public java.util.ListIterator<E> listIterator()
- Specified by:
listIterator
in interface java.util.List<E>
listIterator
public java.util.ListIterator<E> listIterator(int index)
- Specified by:
listIterator
in interface java.util.List<E>
subList
public java.util.List<E> subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface java.util.List<E>
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.