Package org.robolectric.shadows
Class ShadowVirtualRefBasePtr
- java.lang.Object
-
- org.robolectric.shadows.ShadowVirtualRefBasePtr
-
@Implements(value=com.android.internal.util.VirtualRefBasePtr.class, isInAndroidSdk=false) public class ShadowVirtualRefBasePtr extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowVirtualRefBasePtr()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
get(long nativePtr, Class<T> clazz)
static void
nDecStrong(long ptr)
static void
nIncStrong(long ptr)
static <T> long
put(T object)
-
-
-
Method Detail
-
put
public static <T> long put(T object)
-
get
public static <T> T get(long nativePtr, Class<T> clazz)
-
nIncStrong
@Implementation(minSdk=21) public static void nIncStrong(long ptr)
-
nDecStrong
@Implementation(minSdk=21) public static void nDecStrong(long ptr)
-
-