public class FacetArrays extends Object
Constructor | Description |
---|---|
FacetArrays(IntArrayAllocator intArrayAllocator,
FloatArrayAllocator floatArrayAllocator) |
Create a FacetArrays with certain array allocators.
|
Modifier and Type | Method | Description |
---|---|---|
void |
free() |
Notify allocators that they can free arrays allocated
on behalf of this FacetArrays object.
|
int |
getArraysLength() |
Return the arrays length
|
float[] |
getFloatArray() |
Obtain a float array, e.g.
|
int[] |
getIntArray() |
Obtain an int array, e.g.
|
public FacetArrays(IntArrayAllocator intArrayAllocator, FloatArrayAllocator floatArrayAllocator)
intArrayAllocator
- allocator for int arrays.floatArrayAllocator
- allocator for float arrays.public void free()
public int[] getIntArray()
public float[] getFloatArray()
public int getArraysLength()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.