|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.util.DBObjectIDSet
public class DBObjectIDSet
Set implementation for storing DBObjectIDs.
This Set implementation is not synchronized, use
Collections.synchronizedSet
if you require thread safety.
Constructor Summary | |
---|---|
DBObjectIDSet(boolean strict)
Constructs a new Set for uniquely storing DBObjectIDs |
Method Summary | ||
---|---|---|
boolean |
add(T e)
|
|
boolean |
addAll(java.util.Collection<? extends T> c)
|
|
void |
addAll(DBObject... objs)
Adds the DBObjectIDs for every object in the given list. |
|
void |
clear()
|
|
boolean |
contains(java.lang.Object o)
|
|
boolean |
containsAll(java.util.Collection<?> c)
|
|
boolean |
equals(java.lang.Object obj)
|
|
int |
hashCode()
|
|
boolean |
isEmpty()
|
|
java.util.Iterator<T> |
iterator()
|
|
boolean |
remove(java.lang.Object o)
|
|
boolean |
removeAll(java.util.Collection<?> c)
|
|
boolean |
retainAll(java.util.Collection<?> c)
|
|
int |
size()
|
|
java.lang.Object[] |
toArray()
|
|
|
toArray(E[] a)
|
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBObjectIDSet(boolean strict)
strict
- whether the IDs in the Set will be compared strictly or notDBObjectID#equals(boolean)
Method Detail |
---|
public void addAll(DBObject... objs)
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
iterator
in interface java.util.Collection<T>
iterator
in interface java.util.Set<T>
public int size()
size
in interface java.util.Collection<T>
size
in interface java.util.Set<T>
public boolean add(T e)
add
in interface java.util.Collection<T>
add
in interface java.util.Set<T>
public boolean addAll(java.util.Collection<? extends T> c)
addAll
in interface java.util.Collection<T>
addAll
in interface java.util.Set<T>
public void clear()
clear
in interface java.util.Collection<T>
clear
in interface java.util.Set<T>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<T>
contains
in interface java.util.Set<T>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<T>
containsAll
in interface java.util.Set<T>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<T>
isEmpty
in interface java.util.Set<T>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<T>
remove
in interface java.util.Set<T>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<T>
removeAll
in interface java.util.Set<T>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<T>
retainAll
in interface java.util.Set<T>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<T>
toArray
in interface java.util.Set<T>
public <E> E[] toArray(E[] a)
toArray
in interface java.util.Collection<T>
toArray
in interface java.util.Set<T>
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Collection<T>
equals
in interface java.util.Set<T>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Collection<T>
hashCode
in interface java.util.Set<T>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |