Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 832 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 832 Bytes

MemoryVisualizer4J

MemoryVisualizer4J is a flexible and easy-to-use tool that solve the current situation of explaining memory layout of Java.

Getting Start

Check Getting Start to install the library.

Then check Introduce to Visualizer UI for the User Guide of Visualizer UI.

Example

There is a simple example for visualizing an Integer array, and a String array

import com.caxerx.memoryvisualizer4j.MemoryVisualizer4J;

public class Main {
    public static void main(String[] args) {
        int[] intArray = {1,2,3};
        String[] stringArray = {"Hello", "World"};
        MemoryVisualizer4J.getMemoryVisualizer().registerObject(intArray, stringArray).visualize();
    }
}