public class G2DIndicesBuffer extends java.lang.Object implements IndicesBuffer, DataBuffer
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.nio.IntBuffer |
getData()
Return the data.
|
int |
getSize()
Return the number of elements.
|
void |
setData(java.util.Collection<java.lang.Integer> indices)
Set the data
|
void |
setData(int[] indices)
Set the data
|
void |
setData(java.nio.IntBuffer indexBuffer)
Set the data.
|
public void setData(int[] indices)
IndicesBuffersetData in interface IndicesBufferindices - the new data.public void setData(java.util.Collection<java.lang.Integer> indices)
IndicesBuffersetData in interface IndicesBufferindices - the new data.public void setData(java.nio.IntBuffer indexBuffer)
IndicesBuffersetData in interface IndicesBufferindexBuffer - the new data.public int getSize()
DataBuffergetSize in interface DataBufferpublic java.nio.IntBuffer getData()
DataBuffergetData in interface DataBuffergetData in interface IndicesBufferpublic void clear()
clear in interface DataBufferclear in interface IndicesBuffer