Class G2DIndicesBuffer

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      java.nio.IntBuffer getData()
      Return the data.
      int getSize()
      Return the number of elements.
      void setData​(int[] indices)
      Set the data
      void setData​(java.nio.IntBuffer indexBuffer)
      Set the data.
      void setData​(java.util.Collection<java.lang.Integer> indices)
      Set the data
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setData

        public void setData​(int[] indices)
        Description copied from interface: IndicesBuffer
        Set the data
        Specified by:
        setData in interface IndicesBuffer
        Parameters:
        indices - the new data.
      • setData

        public void setData​(java.util.Collection<java.lang.Integer> indices)
        Description copied from interface: IndicesBuffer
        Set the data
        Specified by:
        setData in interface IndicesBuffer
        Parameters:
        indices - the new data.
      • setData

        public void setData​(java.nio.IntBuffer indexBuffer)
        Description copied from interface: IndicesBuffer
        Set the data.
        Specified by:
        setData in interface IndicesBuffer
        Parameters:
        indexBuffer - the new data.
      • getSize

        public int getSize()
        Description copied from interface: DataBuffer
        Return the number of elements.
        Specified by:
        getSize in interface DataBuffer
        Returns:
        the number of elements.