org.hibernate.collection.internal
Class AbstractPersistentCollection.ListProxy

java.lang.Object
  extended by org.hibernate.collection.internal.AbstractPersistentCollection.ListProxy
All Implemented Interfaces:
Iterable, Collection, List
Enclosing class:
AbstractPersistentCollection

protected final class AbstractPersistentCollection.ListProxy
extends Object
implements List


Field Summary
protected  List list
           
 
Constructor Summary
AbstractPersistentCollection.ListProxy(List list)
           
 
Method Summary
 void add(int index, Object value)
           
 boolean add(Object o)
           
 boolean addAll(Collection c)
           
 boolean addAll(int i, Collection c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection c)
           
 Object get(int i)
           
 int indexOf(Object o)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 int lastIndexOf(Object o)
           
 ListIterator listIterator()
           
 ListIterator listIterator(int i)
           
 Object remove(int i)
           
 boolean remove(Object o)
           
 boolean removeAll(Collection c)
           
 boolean retainAll(Collection c)
           
 Object set(int i, Object o)
           
 int size()
           
 List subList(int i, int j)
           
 Object[] toArray()
           
 Object[] toArray(Object[] array)
           
 
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
 

Field Detail

list

protected final List list
Constructor Detail

AbstractPersistentCollection.ListProxy

public AbstractPersistentCollection.ListProxy(List list)
Method Detail

add

public void add(int index,
                Object value)
Specified by:
add in interface List

add

public boolean add(Object o)
Specified by:
add in interface Collection
Specified by:
add in interface List

addAll

public boolean addAll(Collection c)
Specified by:
addAll in interface Collection
Specified by:
addAll in interface List

addAll

public boolean addAll(int i,
                      Collection c)
Specified by:
addAll in interface List

clear

public void clear()
Specified by:
clear in interface Collection
Specified by:
clear in interface List

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection
Specified by:
contains in interface List

containsAll

public boolean containsAll(Collection c)
Specified by:
containsAll in interface Collection
Specified by:
containsAll in interface List

get

public Object get(int i)
Specified by:
get in interface List

indexOf

public int indexOf(Object o)
Specified by:
indexOf in interface List

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface List

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface List

lastIndexOf

public int lastIndexOf(Object o)
Specified by:
lastIndexOf in interface List

listIterator

public ListIterator listIterator()
Specified by:
listIterator in interface List

listIterator

public ListIterator listIterator(int i)
Specified by:
listIterator in interface List

remove

public Object remove(int i)
Specified by:
remove in interface List

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection
Specified by:
remove in interface List

removeAll

public boolean removeAll(Collection c)
Specified by:
removeAll in interface Collection
Specified by:
removeAll in interface List

retainAll

public boolean retainAll(Collection c)
Specified by:
retainAll in interface Collection
Specified by:
retainAll in interface List

set

public Object set(int i,
                  Object o)
Specified by:
set in interface List

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface List

subList

public List subList(int i,
                    int j)
Specified by:
subList in interface List

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection
Specified by:
toArray in interface List

toArray

public Object[] toArray(Object[] array)
Specified by:
toArray in interface Collection
Specified by:
toArray in interface List


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.