## Uses of Class
java.util.Vector

- Packages that use Vector
  Package | Description
  --- | ---
  java.awt.image | Provides classes for creating and modifying images.
  java.awt.image.renderable | Provides classes and interfaces for producing rendering-independent images.
  java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
  javax.accessibility | Defines a contract between user-interface components and an assistive technology that provides access to those components.
  javax.management | Provides the core classes for the Java Management Extensions.
  javax.management.relation | Provides the definition of the Relation Service.
  javax.management.timer | Provides the definition of the Timer MBean.
  javax.naming | Provides the classes and interfaces for accessing naming services.
  javax.naming.directory | Extends the `javax.naming` package to provide functionality for accessing directory services.
  javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.
  javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  javax.swing.plaf.multi | Provides user interface objects that combine two or more look and feels.
  javax.swing.table | Provides classes and interfaces for dealing with `javax.swing.JTable`.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.
  javax.swing.text.html | Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.
  javax.swing.text.html.parser | Provides the default HTML parser, along with support classes.
  javax.swing.tree | Provides classes and interfaces for dealing with `javax.swing.JTree`.
  javax.swing.undo | Allows developers to provide support for undo/redo in applications such as text editors.

- - ### Uses of Vector in java.awt.image

    Methods in java.awt.image that return Vector
    Modifier and Type | Method and Description
    --- | ---
    `Vector<RenderedImage>` | RenderedImage.`getSources()` Returns a vector of RenderedImages that are the immediate sources of image data for this RenderedImage.
    `Vector<RenderedImage>` | BufferedImage.`getSources()` Returns a `Vector` of `RenderedImage` objects that are the immediate sources, not the sources of these immediate sources, of image data for this `BufferedImage`.

  - ### Uses of Vector in java.awt.image.renderable

    Fields in java.awt.image.renderable declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector<Object>` | ParameterBlock.`parameters` A Vector of non-source parameters, stored as arbitrary Objects.
    `protected Vector<Object>` | ParameterBlock.`sources` A Vector of sources, stored as arbitrary Objects.

    Methods in java.awt.image.renderable that return Vector
    Modifier and Type | Method and Description
    --- | ---
    `Vector<Object>` | ParameterBlock.`getParameters()` Returns the entire Vector of parameters.
    `Vector<RenderableImage>` | RenderableImageOp.`getSources()` Returns a vector of RenderableImages that are the sources of image data for this RenderableImage.
    `Vector<RenderableImage>` | RenderableImage.`getSources()` Returns a vector of RenderableImages that are the sources of image data for this RenderableImage.
    `Vector<Object>` | ParameterBlock.`getSources()` Returns the entire Vector of sources.

    Methods in java.awt.image.renderable with parameters of type Vector
    Modifier and Type | Method and Description
    --- | ---
    `void` | ParameterBlock.`setParameters(Vector<Object> parameters)` Sets the entire Vector of parameters to a given Vector.
    `void` | ParameterBlock.`setSources(Vector<Object> sources)` Sets the entire Vector of sources to a given Vector.

    Constructors in java.awt.image.renderable with parameters of type Vector
    Constructor and Description
    `ParameterBlock(Vector<Object> sources)` Constructs a `ParameterBlock` with a given Vector of sources.
    `ParameterBlock(Vector<Object> sources, Vector<Object> parameters)` Constructs a `ParameterBlock` with a given Vector of sources and Vector of parameters.
    `ParameterBlock(Vector<Object> sources, Vector<Object> parameters)` Constructs a `ParameterBlock` with a given Vector of sources and Vector of parameters.

  - ### Uses of Vector in java.util

    Subclasses of Vector in java.util
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Stack<E>` The `Stack` class represents a last-in-first-out (LIFO) stack of objects.

  - ### Uses of Vector in javax.accessibility

    Fields in javax.accessibility declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector<AccessibleRelation>` | AccessibleRelationSet.`relations` Each entry in the Vector represents an AccessibleRelation.
    `protected Vector<AccessibleState>` | AccessibleStateSet.`states` Each entry in the Vector represents an AccessibleState.

  - ### Uses of Vector in javax.management

    Methods in javax.management that return Vector
    Modifier and Type | Method and Description
    --- | ---
    `Vector<String>` | AttributeChangeNotificationFilter.`getEnabledAttributes()` Gets all the enabled attribute names for this filter.
    `Vector<String>` | NotificationFilterSupport.`getEnabledTypes()` Gets all the enabled notification types for this filter.

  - ### Uses of Vector in javax.management.relation

    Methods in javax.management.relation that return Vector
    Modifier and Type | Method and Description
    --- | ---
    `Vector<ObjectName>` | MBeanServerNotificationFilter.`getDisabledObjectNames()` Gets all the ObjectNames disabled.
    `Vector<ObjectName>` | MBeanServerNotificationFilter.`getEnabledObjectNames()` Gets all the ObjectNames enabled.

  - ### Uses of Vector in javax.management.timer

    Methods in javax.management.timer that return Vector
    Modifier and Type | Method and Description
    --- | ---
    `Vector<Integer>` | TimerMBean.`getAllNotificationIDs()` Gets all timer notification identifiers registered into the list of notifications.
    `Vector<Integer>` | Timer.`getAllNotificationIDs()` Gets all timer notification identifiers registered into the list of notifications.
    `Vector<Integer>` | TimerMBean.`getNotificationIDs(String type)` Gets all the identifiers of timer notifications corresponding to the specified type.
    `Vector<Integer>` | Timer.`getNotificationIDs(String type)` Gets all the identifiers of timer notifications corresponding to the specified type.

  - ### Uses of Vector in javax.naming

    Fields in javax.naming declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector<RefAddr>` | Reference.`addrs` Contains the addresses contained in this Reference.

  - ### Uses of Vector in javax.naming.directory

    Fields in javax.naming.directory declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector<Object>` | BasicAttribute.`values` Holds the attribute's values.

  - ### Uses of Vector in javax.sound.midi

    Fields in javax.sound.midi declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector<Track>` | Sequence.`tracks` The MIDI tracks in this sequence.

  - ### Uses of Vector in javax.sql.rowset.serial

    Constructors in javax.sql.rowset.serial with parameters of type Vector
    Constructor and Description
    `SQLOutputImpl(Vector<?> attributes, Map<String,?> map)` Creates a new `SQLOutputImpl` object initialized with the given vector of attributes and type map.

  - ### Uses of Vector in javax.swing

    Fields in javax.swing declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector<AbstractButton>` | ButtonGroup.`buttons`

    Methods in javax.swing with parameters of type Vector
    Modifier and Type | Method and Description
    --- | ---
    `void` | JList.`setListData(Vector<?> listData)` Constructs a read-only `ListModel` from a `Vector` and calls `setModel` with this model.

    Constructors in javax.swing with parameters of type Vector
    Constructor and Description
    `DefaultComboBoxModel(Vector<?> v)` Constructs a DefaultComboBoxModel object initialized with a vector.
    `JComboBox(Vector<?> items)` Creates a `JComboBox` that contains the elements in the specified Vector.
    `JList(Vector<?> listData)` Constructs a `JList` that displays the elements in the specified `Vector`.
    `JTable(Vector rowData, Vector columnNames)` Constructs a `JTable` to display the values in the `Vector` of `Vectors`, `rowData`, with column names, `columnNames`.
    `JTable(Vector rowData, Vector columnNames)` Constructs a `JTable` to display the values in the `Vector` of `Vectors`, `rowData`, with column names, `columnNames`.
    `JTree(Vector<?> value)` Returns a `JTree` with each element of the specified `Vector` as the child of a new root node which is not displayed.

  - ### Uses of Vector in javax.swing.plaf.basic

    Methods in javax.swing.plaf.basic that return Vector
    Modifier and Type | Method and Description
    --- | ---
    `Vector<File>` | BasicDirectoryModel.`getDirectories()`
    `Vector<File>` | BasicDirectoryModel.`getFiles()`

    Methods in javax.swing.plaf.basic with parameters of type Vector
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BasicDirectoryModel.`sort(Vector<? extends File> v)`

  - ### Uses of Vector in javax.swing.plaf.multi

    Fields in javax.swing.plaf.multi declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector` | MultiViewportUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiTreeUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiToolTipUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiToolBarUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiTextUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiTableUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiTableHeaderUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiTabbedPaneUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiSplitPaneUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiSpinnerUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiSliderUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiSeparatorUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiScrollPaneUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiScrollBarUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiRootPaneUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiProgressBarUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiPopupMenuUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiPanelUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiOptionPaneUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiMenuItemUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiMenuBarUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiListUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiLabelUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiInternalFrameUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiFileChooserUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiDesktopPaneUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiDesktopIconUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiComboBoxUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiColorChooserUI.`uis` The vector containing the real UIs.
    `protected Vector` | MultiButtonUI.`uis` The vector containing the real UIs.

    Methods in javax.swing.plaf.multi with parameters of type Vector
    Modifier and Type | Method and Description
    --- | ---
    `static ComponentUI` | MultiLookAndFeel.`createUIs(ComponentUI mui, Vector uis, JComponent target)` Creates the `ComponentUI` objects required to present the `target` component, placing the objects in the `uis` vector and returning the `ComponentUI` object that best represents the component's UI.
    `protected static ComponentUI[]` | MultiLookAndFeel.`uisToArray(Vector uis)` Creates an array, populates it with UI objects from the passed-in vector, and returns the array.

  - ### Uses of Vector in javax.swing.table

    Fields in javax.swing.table declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector` | DefaultTableModel.`columnIdentifiers` The `Vector` of column identifiers.
    `protected Vector` | DefaultTableModel.`dataVector` The `Vector` of `Vectors` of `Object` values.
    `protected Vector<TableColumn>` | DefaultTableColumnModel.`tableColumns` Array of TableColumn objects in this model

    Methods in javax.swing.table that return Vector
    Modifier and Type | Method and Description
    --- | ---
    `protected static Vector` | DefaultTableModel.`convertToVector(Object[] anArray)` Returns a vector that contains the same objects as the array.
    `protected static Vector` | DefaultTableModel.`convertToVector(Object[][] anArray)` Returns a vector of vectors that contains the same objects as the array.
    `Vector` | DefaultTableModel.`getDataVector()` Returns the `Vector` of `Vectors` that contains the table's data values.

    Methods in javax.swing.table with parameters of type Vector
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultTableModel.`addColumn(Object columnName, Vector columnData)` Adds a column to the model.
    `void` | DefaultTableModel.`addRow(Vector rowData)` Adds a row to the end of the model.
    `void` | DefaultTableModel.`insertRow(int row, Vector rowData)` Inserts a row at `row` in the model.
    `void` | DefaultTableModel.`setColumnIdentifiers(Vector columnIdentifiers)` Replaces the column identifiers in the model.
    `void` | DefaultTableModel.`setDataVector(Vector dataVector, Vector columnIdentifiers)` Replaces the current `dataVector` instance variable with the new `Vector` of rows, `dataVector`.
    `void` | DefaultTableModel.`setDataVector(Vector dataVector, Vector columnIdentifiers)` Replaces the current `dataVector` instance variable with the new `Vector` of rows, `dataVector`.

    Constructors in javax.swing.table with parameters of type Vector
    Constructor and Description
    `DefaultTableModel(Vector columnNames, int rowCount)` Constructs a `DefaultTableModel` with as many columns as there are elements in `columnNames` and `rowCount` of `null` object values.
    `DefaultTableModel(Vector data, Vector columnNames)` Constructs a `DefaultTableModel` and initializes the table by passing `data` and `columnNames` to the `setDataVector` method.
    `DefaultTableModel(Vector data, Vector columnNames)` Constructs a `DefaultTableModel` and initializes the table by passing `data` and `columnNames` to the `setDataVector` method.

  - ### Uses of Vector in javax.swing.text

    Methods in javax.swing.text that return Vector
    Modifier and Type | Method and Description
    --- | ---
    `protected Vector` | StringContent.`getPositionsInRange(Vector v, int offset, int length)` Returns a Vector containing instances of UndoPosRef for the Positions in the range `offset` to `offset` + `length`.
    `protected Vector` | GapContent.`getPositionsInRange(Vector v, int offset, int length)` Returns a Vector containing instances of UndoPosRef for the Positions in the range `offset` to `offset` + `length`.

    Methods in javax.swing.text with parameters of type Vector
    Modifier and Type | Method and Description
    --- | ---
    `protected Vector` | StringContent.`getPositionsInRange(Vector v, int offset, int length)` Returns a Vector containing instances of UndoPosRef for the Positions in the range `offset` to `offset` + `length`.
    `protected Vector` | GapContent.`getPositionsInRange(Vector v, int offset, int length)` Returns a Vector containing instances of UndoPosRef for the Positions in the range `offset` to `offset` + `length`.
    `protected void` | StringContent.`updateUndoPositions(Vector positions)` Resets the location for all the UndoPosRef instances in `positions`.
    `protected void` | GapContent.`updateUndoPositions(Vector positions, int offset, int length)` Resets the location for all the UndoPosRef instances in `positions`.

  - ### Uses of Vector in javax.swing.text.html

    Fields in javax.swing.text.html declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector<DefaultStyledDocument.ElementSpec>` | HTMLDocument.HTMLReader.`parseBuffer`

  - ### Uses of Vector in javax.swing.text.html.parser

    Fields in javax.swing.text.html.parser declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `Vector<Element>` | DTD.`elements`
    `Vector<?>` | AttributeList.`values`

    Methods in javax.swing.text.html.parser with parameters of type Vector
    Modifier and Type | Method and Description
    --- | ---
    `void` | ContentModel.`getElements(Vector<Element> elemVec)` Update elemVec with the list of elements that are part of the this contentModel.

    Constructors in javax.swing.text.html.parser with parameters of type Vector
    Constructor and Description
    `AttributeList(String name, int type, int modifier, String value, Vector<?> values, AttributeList next)` Create an attribute list element.

  - ### Uses of Vector in javax.swing.tree

    Fields in javax.swing.tree declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector` | DefaultMutableTreeNode.`children` array of children, may be null if this node has no children

    Methods in javax.swing.tree with parameters of type Vector
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DefaultTreeSelectionModel.`notifyPathChange(Vector<javax.swing.tree.PathPlaceHolder> changedPaths, TreePath oldLeadSelection)` Notifies listeners of a change in path.

  - ### Uses of Vector in javax.swing.undo

    Fields in javax.swing.undo declared as Vector
    Modifier and Type | Field and Description
    --- | ---
    `protected Vector<UndoableEdit>` | CompoundEdit.`edits` The collection of `UndoableEdit`s undone/redone en masse by this `CompoundEdit`.
    `protected Vector<UndoableEditListener>` | UndoableEditSupport.`listeners`

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.