oracle.dss.util
Class UpdatableSetImpl
java.lang.Object
|
+--oracle.dss.util.UpdatableSetImpl
- All Implemented Interfaces:
- java.lang.Cloneable, Collection, java.io.Serializable, UpdatableCollection, UpdatableSet
- Direct Known Subclasses:
- RangeCollection
- public class UpdatableSetImpl
- extends java.lang.Object
- implements UpdatableSet, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdatableSetImpl
public UpdatableSetImpl()
UpdatableSetImpl
public UpdatableSetImpl(int initialCapacity)
UpdatableSetImpl
public UpdatableSetImpl(int initialCapacity,
int capacityIncrement)
equals
public boolean equals(java.lang.Object obj)
-
- Overrides:
equals
in class java.lang.Object
duplicate
public Collection duplicate()
-
- Specified by:
duplicate
in interface Collection
size
public int size()
-
- Specified by:
size
in interface Collection
isEmpty
public boolean isEmpty()
-
- Specified by:
isEmpty
in interface Collection
includes
public boolean includes(java.lang.Object element)
-
- Specified by:
includes
in interface Collection
elements
public java.util.Enumeration elements()
-
- Specified by:
elements
in interface Collection
clear
public void clear()
-
- Specified by:
clear
in interface UpdatableCollection
include
public void include(java.lang.Object element)
-
- Specified by:
include
in interface UpdatableSet
removeOneOf
public void removeOneOf(java.lang.Object element)
-
- Specified by:
removeOneOf
in interface UpdatableCollection
exclude
public void exclude(java.lang.Object element)
-
- Specified by:
exclude
in interface UpdatableCollection
take
public java.lang.Object take()
throws java.util.NoSuchElementException
-
- Specified by:
take
in interface UpdatableCollection
includeElements
public void includeElements(java.util.Enumeration e)
-
- Specified by:
includeElements
in interface UpdatableSet
removeElements
public void removeElements(java.util.Enumeration e)
-
- Specified by:
removeElements
in interface UpdatableCollection
main
public static void main(java.lang.String[] argv)
Copyright © 2003, Oracle. All Rights Reserved.