org.hibernate.collection.internal
Class AbstractPersistentCollection.SetProxy

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

protected class AbstractPersistentCollection.SetProxy
extends Object
implements Set


Field Summary
protected  Collection set
           
 
Constructor Summary
AbstractPersistentCollection.SetProxy(Collection set)
           
 
Method Summary
 boolean add(Object o)
           
 boolean addAll(Collection c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection c)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection c)
           
 boolean retainAll(Collection c)
           
 int size()
           
 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.Set
equals, hashCode
 

Field Detail

set

protected final Collection set
Constructor Detail

AbstractPersistentCollection.SetProxy

public AbstractPersistentCollection.SetProxy(Collection set)
Method Detail

add

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

addAll

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

clear

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

contains

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

containsAll

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

isEmpty

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

iterator

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

remove

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

removeAll

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

retainAll

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

size

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

toArray

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

toArray

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


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