Package dev.drtheo.autojson.util.adapter
Class PrimIntClassAdapter
java.lang.Object
dev.drtheo.autojson.util.ClassAdapter.Primitive<T,Array>
dev.drtheo.autojson.util.ClassAdapter.Wrapped<T,Array,Number>
dev.drtheo.autojson.util.ClassAdapter.Num<Integer,int[]>
dev.drtheo.autojson.util.adapter.PrimIntClassAdapter
- All Implemented Interfaces:
ClassAdapter<Integer,int[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.drtheo.autojson.util.ClassAdapter
ClassAdapter.Num<T extends Number,Array>, ClassAdapter.Primitive<T, Array>, ClassAdapter.Wrapped<T, Array, B> -
Field Summary
Fields inherited from class dev.drtheo.autojson.util.ClassAdapter.Wrapped
base -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.drtheo.autojson.util.ClassAdapter.Wrapped
set, setMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.drtheo.autojson.util.ClassAdapter
castArray, getArray, getArrayLength, setArray
-
Constructor Details
-
PrimIntClassAdapter
public PrimIntClassAdapter()
-
-
Method Details
-
get
- Specified by:
getin interfaceClassAdapter<Integer,int[]> - Specified by:
getin classClassAdapter.Primitive<Integer,int[]>
-
getLength
public int getLength(int[] ts) -
get
-
set0
protected void set0(sun.misc.Unsafe unsafe, Object obj, long address, @NotNull @NotNull Integer value) - Specified by:
set0in classClassAdapter.Primitive<Integer,int[]>
-
set0
- Specified by:
set0in classClassAdapter.Primitive<Integer,int[]>
-
unwrap
- Specified by:
unwrapin classClassAdapter.Wrapped<Integer,int[], Number>
-