Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.6.0)

E12063-07

oracle.dss.util
Class UpdatableBagImpl

java.lang.Object
  extended by oracle.dss.util.UpdatableBagImpl
All Implemented Interfaces:
java.lang.Cloneable, Collection, UpdatableBag, UpdatableCollection

public class UpdatableBagImpl
extends java.lang.Object
implements UpdatableBag


Field Summary
protected  int m_capacityIncrement
           
protected  int m_initialCapacity
           
protected  java.util.Vector m_objects
           
 
Constructor Summary
UpdatableBagImpl()
           
UpdatableBagImpl(int initialCapacity)
           
UpdatableBagImpl(int initialCapacity, int capacityIncrement)
           
 
Method Summary
 void add(java.lang.Object element)
           
 void addElements(java.util.Enumeration e)
           
 void addIfAbsent(java.lang.Object element)
           
 void clear()
           
protected  java.lang.Object clone()
           
 Collection duplicate()
           
 java.util.Enumeration elements()
           
 void exclude(java.lang.Object element)
           
 boolean includes(java.lang.Object element)
           
 boolean isEmpty()
           
static void main(java.lang.String[] argv)
           
 void removeElements(java.util.Enumeration e)
           
 void removeOneOf(java.lang.Object element)
           
 int size()
           
 java.lang.Object take()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_objects

protected java.util.Vector m_objects

m_initialCapacity

protected int m_initialCapacity

m_capacityIncrement

protected int m_capacityIncrement
Constructor Detail

UpdatableBagImpl

public UpdatableBagImpl()

UpdatableBagImpl

public UpdatableBagImpl(int initialCapacity)

UpdatableBagImpl

public UpdatableBagImpl(int initialCapacity,
                        int capacityIncrement)
Method Detail

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

add

public void add(java.lang.Object element)
Specified by:
add in interface UpdatableBag

addIfAbsent

public void addIfAbsent(java.lang.Object element)
Specified by:
addIfAbsent in interface UpdatableBag

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

addElements

public void addElements(java.util.Enumeration e)
Specified by:
addElements in interface UpdatableBag

removeElements

public void removeElements(java.util.Enumeration e)
Specified by:
removeElements in interface UpdatableCollection

main

public static void main(java.lang.String[] argv)

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.6.0)

E12063-07

Copyright © 1997, 2011, Oracle. All rights reserved.