Class SegmentedSubnodeList

java.lang.Object
helma.objectmodel.db.SubnodeList
helma.objectmodel.db.SegmentedSubnodeList
All Implemented Interfaces:
Serializable

public class SegmentedSubnodeList extends SubnodeList
See Also:
  • Constructor Details

    • SegmentedSubnodeList

      public SegmentedSubnodeList(Node node)
      Creates a new subnode list
      Parameters:
      node - the node we belong to
  • Method Details

    • add

      public boolean add(NodeHandle handle)
      Adds the specified object to this list performing custom ordering
      Overrides:
      add in class SubnodeList
      Parameters:
      handle - element to be inserted.
    • add

      public void add(int index, NodeHandle handle)
      Adds the specified object to the list at the given position
      Overrides:
      add in class SubnodeList
      Parameters:
      index - the index to insert the element at
      handle - the object to add
    • get

      public NodeHandle get(int index)
      Overrides:
      get in class SubnodeList
    • contains

      public boolean contains(Object object)
      Overrides:
      contains in class SubnodeList
    • indexOf

      public int indexOf(Object object)
      Overrides:
      indexOf in class SubnodeList
    • remove

      public Object remove(int index)
      remove the object specified by the given index-position
      Overrides:
      remove in class SubnodeList
      Parameters:
      index - the index-position of the NodeHandle to remove
    • remove

      public boolean remove(Object object)
      remove the given Object from this List
      Overrides:
      remove in class SubnodeList
      Parameters:
      object - the NodeHandle to remove
    • toArray

      public Object[] toArray()
      Overrides:
      toArray in class SubnodeList
    • update

      protected void update()
      Overrides:
      update in class SubnodeList
    • size

      public int size()
      Description copied from class: SubnodeList
      Return the size of the list.
      Overrides:
      size in class SubnodeList
      Returns:
      the list size