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
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)
-
Constructor Details
-
ShadowVirtualRefBasePtr
public ShadowVirtualRefBasePtr()
-
-
Method Details
-
put
public static <T> long put(T object) -
get
-
nIncStrong
-
nDecStrong
-