Package io.qt.datavis

Class QBarDataArray

java.lang.Object
io.qt.QtObject
io.qt.core.QList<QBarDataRow>
io.qt.datavis.QBarDataArray
All Implemented Interfaces:
io.qt.QtObjectInterface, Cloneable, Iterable<QBarDataRow>, Collection<QBarDataRow>, List<QBarDataRow>

public class QBarDataArray extends io.qt.core.QList<QBarDataRow> implements Cloneable

Template class that provides a dynamic array

Java wrapper for Qt class QBarDataArray

  • Nested Class Summary

    Nested classes/interfaces inherited from class io.qt.QtObject

    io.qt.QtObject.QPrivateConstructor
  • Constructor Summary

    Constructors
    Constructor
    Description
    See QBarDataArray::QBarDataArray()
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    addAll(int index, Collection<? extends QBarDataRow> c)
    Inserts all of the elements in the specified collection into this list at the specified position.
    final boolean
    Appends all of the elements in the specified collection to the end of this list.
    Creates and returns a copy of this object.
    final boolean
    Returns true if this container contains all of the elements in the specified collection.
    int
    Returns the objects's hash code computed by qHash(QBarDataArray).
    Returns an iterator over elements of type T.
    Returns a list iterator over the elements in this list (in proper sequence).
    listIterator(int index)
    Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.
    remove(int index)
    Removes the element at the specified position in this list.
    final boolean
    Removes all of this container elements that are also contained in the specified collection.
    final boolean
    Retains only the elements in this list that are contained in the specified collection (optional operation).
    subList(int fromIndex, int toIndex)
    Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
    final Object[]
    Returns an array containing all of the elements in this container.
    final <A> A[]
    toArray(A[] a)
    Returns an array containing all of the elements in this container.

    Methods inherited from class io.qt.core.QList

    add, add, append, append, at, begin, capacity, clear, constBegin, constEnd, contains, count, count, createVariantList, createVariantList, end, endsWith, equals, fill, fill, first, get, indexOf, indexOf, insert, insert, isEmpty, last, lastIndexOf, lastIndexOf, length, mid, mid, move, of, of, prepend, readFrom, remove, remove, removeAll, removeAt, removeFirst, removeIf, removeLast, removeOne, replace, reserve, resize, set, size, squeeze, startsWith, swapItemsAt, takeAt, takeFirst, takeLast, toString, value, value, writeTo

    Methods inherited from class io.qt.QtObject

    dispose, isDisposed

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface java.util.List

    containsAll, iterator, removeAll, replaceAll, sort, spliterator, toArray, toArray
  • Constructor Details

    • QBarDataArray

      public QBarDataArray()

      See QBarDataArray::QBarDataArray()

  • Method Details

    • hashCode

      @QtUninvokable public int hashCode()
      Returns the objects's hash code computed by qHash(QBarDataArray).
      Specified by:
      hashCode in interface Collection<QBarDataRow>
      Specified by:
      hashCode in interface List<QBarDataRow>
      Overrides:
      hashCode in class io.qt.core.QList<QBarDataRow>
    • clone

      @QtUninvokable public QBarDataArray clone()

      Creates and returns a copy of this object.

      Overrides:
      clone in class io.qt.core.QList<QBarDataRow>
    • addAll

      @QtUninvokable public final boolean addAll(Collection<? extends QBarDataRow> c)
      Appends all of the elements in the specified collection to the end of this list.
      Specified by:
      addAll in interface Collection<T>
      Specified by:
      addAll in interface List<T>
    • addAll

      @QtUninvokable public final boolean addAll(int index, Collection<? extends QBarDataRow> c)
      Inserts all of the elements in the specified collection into this list at the specified position.
      Specified by:
      addAll in interface List<T>
    • remove

      @QtUninvokable public final QBarDataRow remove(int index)
      Removes the element at the specified position in this list.
      Specified by:
      remove in interface List<T>
    • listIterator

      @QtUninvokable public final ListIterator<QBarDataRow> listIterator()
      Returns a list iterator over the elements in this list (in proper sequence).
      Specified by:
      listIterator in interface List<T>
    • listIterator

      @QtUninvokable public final ListIterator<QBarDataRow> listIterator(int index)
      Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.
      Specified by:
      listIterator in interface List<T>
    • subList

      @QtUninvokable public final List<QBarDataRow> subList(int fromIndex, int toIndex)
      Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. (If fromIndex and toIndex are equal, the returned list is empty.) The returned list is backed by this list, so non-structural changes in the returned list are reflected in this list, and vice-versa. The returned list supports all of the optional list operations supported by this list.
      Specified by:
      subList in interface List<T>
    • retainAll

      @QtUninvokable public final boolean retainAll(Collection<?> c)
      Retains only the elements in this list that are contained in the specified collection (optional operation). In other words, removes from this list all of its elements that are not contained in the specified collection.
      Specified by:
      retainAll in interface Collection<T>
      Specified by:
      retainAll in interface List<T>
    • toArray

      @QtUninvokable public final Object[] toArray()
      Returns an array containing all of the elements in this container.
      Specified by:
      toArray in interface Collection<T>
    • toArray

      @QtUninvokable public final <A> A[] toArray(A[] a)
      Returns an array containing all of the elements in this container.
      Specified by:
      toArray in interface Collection<T>
    • containsAll

      @QtUninvokable public final boolean containsAll(Collection<?> c)
      Returns true if this container contains all of the elements in the specified collection.
      Specified by:
      containsAll in interface Collection<T>
    • removeAll

      @QtUninvokable public final boolean removeAll(Collection<?> c)
      Removes all of this container elements that are also contained in the specified collection.
      Specified by:
      removeAll in interface Collection<T>
    • iterator

      @QtUninvokable public final Iterator<QBarDataRow> iterator()
      Returns an iterator over elements of type T.
      Specified by:
      iterator in interface Collection<T>
      Specified by:
      iterator in interface Iterable<T>
      Returns:
      an Iterator