Class SerializableNodeList<T extends Serializable>

Type Parameters:
T - the type of Serializable objects this list contains
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractServerHandlers, ElementClassList

public abstract class SerializableNodeList<T extends Serializable> extends NodeList<T>
A list which contains Serializable values but not StateNodes.

For a NodeList containing StateNodes, use StateNodeNodeList.

For internal use only. May be renamed or removed in a future release.

Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • SerializableNodeList

      protected SerializableNodeList(StateNode node)
      Creates a new list for the given node.
      Parameters:
      node - the node that the list belongs to
  • Method Details

    • add

      protected void add(int index, T item)
      Description copied from class: NodeList
      Inserts an item at the given index of the list.
      Overrides:
      add in class NodeList<T extends Serializable>
      Parameters:
      index - index to insert at
      item - the item to insert