
##########
IndexedSet
##########

.. js:class:: wv.Animation.IndexedSet

   Provides the functionality of a ``Set`` with the addition of a monotonically-increasing index associated with each element.
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~wv.Animation.IndexedSet.constructor`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wv.Animation.IndexedSet.add`
   * :js:meth:`~wv.Animation.IndexedSet.getIndex`
   * :js:meth:`~wv.Animation.IndexedSet.isEmpty`
   * :js:meth:`~wv.Animation.IndexedSet.toArray`
   
   



.. rst-class:: kind-group kind-constructors

.. rubric:: Constructors
   :class: kind-group-title


.. js:method:: wv.Animation.IndexedSet.constructor

      .. rst-class:: sig-pretty-signature
      
         | IndexedSet(): :js:class:`IndexedSet <wv.Animation.IndexedSet>`\ <T>
      
      **Returns**\ : :js:class:`IndexedSet <wv.Animation.IndexedSet>`\ <T>
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: wv.Animation.IndexedSet.add

      .. rst-class:: sig-pretty-signature
      
         | add(**value**\ : T): *void*
      
      **Parameters**
      
      
         **value**\ : T
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.Animation.IndexedSet.getIndex

      .. rst-class:: sig-pretty-signature
      
         | getIndex(**value**\ : T): *number*
      
      **Parameters**
      
      
         **value**\ : T
      
      
      **Returns**\ : *number*
      



.. js:method:: wv.Animation.IndexedSet.isEmpty

      .. rst-class:: sig-pretty-signature
      
         | isEmpty(): *boolean*
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.Animation.IndexedSet.toArray

      .. rst-class:: sig-pretty-signature
      
         | toArray(): T[]
      
      Returns an array containing each element of the set placed at its assigned index.
      
      **Returns**\ : T[]
      




