oracle.dss.util
Class UpdatableSetImpl
java.lang.Object
oracle.dss.util.UpdatableSetImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Collection, 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 |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_objects
protected java.util.Vector m_objects
m_initialCapacity
protected int m_initialCapacity
m_capacityIncrement
protected int m_capacityIncrement
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
clone
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
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
- Throws:
java.util.NoSuchElementException
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 © 1997, 2009, Oracle. All rights reserved.