class MemoryUseStatisticPoint extends StatisticPoint {

    public static MemoryUseStatisticPoint create(long timeMillisSpent) {<FILL_FUNCTION_BODY>}

    private final long timeMillisSpent;
    private final long usedMemory;
    private final long maxMemory;

    public MemoryUseStatisticPoint(long timeMillisSpent, long usedMemory, long maxMemory) {
        this.timeMillisSpent = timeMillisSpent;
        this.usedMemory = usedMemory;
        this.maxMemory = maxMemory;
    }

    public long getTimeMillisSpent() {
        return timeMillisSpent;
    }

    public long getUsedMemory() {
        return usedMemory;
    }

    public long getMaxMemory() {
        return maxMemory;
    }

    @Override
    public String toCsvLine() {
        return buildCsvLineWithLongs(timeMillisSpent, usedMemory, maxMemory);
    }

}

        Runtime runtime = Runtime.getRuntime();
        return new MemoryUseStatisticPoint(timeMillisSpent, runtime.totalMemory() - runtime.freeMemory(), runtime.maxMemory());
    
<methods>public non-sealed void <init>() ,public static transient java.lang.String buildCsvLine(java.lang.String[]) ,public static transient java.lang.String buildCsvLineWithDoubles(long, double[]) ,public static transient java.lang.String buildCsvLineWithLongs(long, long[]) ,public static transient java.lang.String buildCsvLineWithStrings(long, java.lang.String[]) ,public static List<java.lang.String> parseCsvLine(java.lang.String) ,public abstract java.lang.String toCsvLine() <variables>private static final java.util.regex.Pattern DOUBLE_QUOTE,private static final java.util.regex.Pattern SINGLE_QUOTE