org.opennms.core.utils
Class JdbcSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
org.opennms.core.utils.JdbcSet<E>
- All Implemented Interfaces:
- Iterable<E>, Collection<E>, Set<E>
- Direct Known Subclasses:
- LazySet
public class JdbcSet<E>
- extends AbstractSet<E>
JdbcSet
public JdbcSet(Collection<E> c)
JdbcSet
public JdbcSet()
setElements
protected void setElements(Collection<E> c)
iterator
public Iterator<E> iterator()
- Specified by:
iterator in interface Iterable<E>- Specified by:
iterator in interface Collection<E>- Specified by:
iterator in interface Set<E>- Specified by:
iterator in class AbstractCollection<E>
size
public int size()
- Specified by:
size in interface Collection<E>- Specified by:
size in interface Set<E>- Specified by:
size in class AbstractCollection<E>
add
public boolean add(E o)
- Specified by:
add in interface Collection<E>- Specified by:
add in interface Set<E>- Overrides:
add in class AbstractCollection<E>
getRemoved
public Set<E> getRemoved()
getAdded
public Set<E> getAdded()
getRemaining
public Set<E> getRemaining()
reset
public void reset()
Copyright ? 2007. All Rights Reserved.