Class ValueList

All Implemented Interfaces:
Iterable<Value>

public final class ValueList extends ObjectList<Value,ValueList>
Resizable-array implementation for values.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • ValueList

      public ValueList()
      Default constructor.
    • ValueList

      public ValueList(long capacity)
      Constructor with initial capacity.
      Parameters:
      capacity - array capacity
  • Method Details

    • array

      public XQArray array()
      Creates an XQuery array from the contents of this list.
      Returns:
      the array
    • newArray

      protected Value[] newArray(int s)
      Description copied from class: ObjectList
      Creates a resized array.
      Specified by:
      newArray in class ObjectList<Value,ValueList>
      Parameters:
      s - size
      Returns:
      array