public class CpuAndMemoryInfo extends Object
构造器和说明 |
---|
CpuAndMemoryInfo(int code,
int cpu,
int totalMemory,
int freeMemory) |
限定符和类型 | 方法和说明 |
---|---|
int |
getCode() |
int |
getCpu() |
int |
getFreeMemory() |
int |
getTotalMemory() |
void |
setCode(int code) |
void |
setCpu(int cpu) |
void |
setFreeMemory(int freeMemory) |
void |
setTotalMemory(int totalMemory) |
String |
toString() |
public CpuAndMemoryInfo(int code, int cpu, int totalMemory, int freeMemory)
public int getCode()
public void setCode(int code)
public int getCpu()
public void setCpu(int cpu)
public int getTotalMemory()
public void setTotalMemory(int totalMemory)
public int getFreeMemory()
public void setFreeMemory(int freeMemory)
Copyright © 2023. All rights reserved.