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