A C D J M S 
All Classes All Packages

A

assertCollectable(Object) - Method in interface de.sandec.jmemorybuddy.JMemoryBuddy.MemoryTestAPI
After executing the lambda, the provided ref must be collectable.
assertCollectable(WeakReference) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
Checks whether the content of the WeakReference can be collected.
assertNotCollectable(Object) - Method in interface de.sandec.jmemorybuddy.JMemoryBuddy.MemoryTestAPI
After executing the lambda, the provided ref must be not collectable.
assertNotCollectable(WeakReference) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
Checks whether the content of the WeakReference can not be collected.

C

checkCollectable(WeakReference) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
Checks whether the content of the WeakReference can be collected.
checkNotCollectable(WeakReference) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
Checks whether the content of the WeakReference can not be collected.

D

de.sandec.jmemorybuddy - package de.sandec.jmemorybuddy
 

J

JMemoryBuddy - Class in de.sandec.jmemorybuddy
Checkout https://github.com/Sandec/JMemoryBuddy for more documentation.
JMemoryBuddy() - Constructor for class de.sandec.jmemorybuddy.JMemoryBuddy
 
JMemoryBuddy.MemoryTestAPI - Interface in de.sandec.jmemorybuddy
 

M

memoryTest(Consumer<JMemoryBuddy.MemoryTestAPI>) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
A standard method to define a test which checks code for specific memory semantic.

S

setAsReferenced(Object) - Method in interface de.sandec.jmemorybuddy.JMemoryBuddy.MemoryTestAPI
The provided reference will be reference hard, so it won't be collected, until memoryTest finishes.
A C D J M S 
All Classes All Packages