public class Memory extends Object
Modifier and Type | Field and Description |
---|---|
static double |
GB |
static double |
KB |
static double |
MB |
Constructor and Description |
---|
Memory() |
Modifier and Type | Method and Description |
---|---|
static String |
allString() |
static String |
format(long mem) |
static long |
free() |
static String |
freeString() |
static double |
round(double d) |
static long |
total() |
static String |
totalString() |
static long |
used() |
static String |
usedString() |
static String |
usedTotalString() |
public static final double KB
public static final double MB
public static final double GB
public static long used()
public static String usedString()
public static long free()
public static String freeString()
public static long total()
public static String totalString()
public static String usedTotalString()
public static String allString()
public static String format(long mem)
public static double round(double d)
Copyright © 2024. All rights reserved.