Class DoubleArrayAdapter
java.lang.Object
org.infinispan.protostream.types.java.arrays.DoubleArrayAdapter
- All Implemented Interfaces:
ElementContainerAdapter<double[]>, IndexedElementContainerAdapter<double[],Double>
@ProtoAdapter(double[].class)
@ProtoName("DoubleArray")
public final class DoubleArrayAdapter
extends Object
implements IndexedElementContainerAdapter<double[],Double>
- Since:
- 4.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]create(int size) getElement(double[] array, int index) intgetNumElements(double[] array) voidsetElement(double[] array, int index, Double element)
-
Constructor Details
-
DoubleArrayAdapter
public DoubleArrayAdapter()
-
-
Method Details
-
create
-
getNumElements
public int getNumElements(double[] array) - Specified by:
getNumElementsin interfaceElementContainerAdapter<double[]>
-
getElement
- Specified by:
getElementin interfaceIndexedElementContainerAdapter<double[],Double>
-
setElement
- Specified by:
setElementin interfaceIndexedElementContainerAdapter<double[],Double>
-