Package oshi.driver.windows.wmi
Enum Win32PhysicalMemory.PhysicalMemoryProperty
- java.lang.Object
-
- java.lang.Enum<Win32PhysicalMemory.PhysicalMemoryProperty>
-
- oshi.driver.windows.wmi.Win32PhysicalMemory.PhysicalMemoryProperty
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Win32PhysicalMemory.PhysicalMemoryProperty>
- Enclosing class:
- Win32PhysicalMemory
public static enum Win32PhysicalMemory.PhysicalMemoryProperty extends java.lang.Enum<Win32PhysicalMemory.PhysicalMemoryProperty>
Physical Memory properties for Win10 and later.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANKLABEL
CAPACITY
MANUFACTURER
PARTNUMBER
SERIALNUMBER
SMBIOSMEMORYTYPE
SPEED
-
Constructor Summary
Constructors Modifier Constructor Description private
PhysicalMemoryProperty()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Win32PhysicalMemory.PhysicalMemoryProperty
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Win32PhysicalMemory.PhysicalMemoryProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BANKLABEL
public static final Win32PhysicalMemory.PhysicalMemoryProperty BANKLABEL
-
CAPACITY
public static final Win32PhysicalMemory.PhysicalMemoryProperty CAPACITY
-
SPEED
public static final Win32PhysicalMemory.PhysicalMemoryProperty SPEED
-
MANUFACTURER
public static final Win32PhysicalMemory.PhysicalMemoryProperty MANUFACTURER
-
PARTNUMBER
public static final Win32PhysicalMemory.PhysicalMemoryProperty PARTNUMBER
-
SMBIOSMEMORYTYPE
public static final Win32PhysicalMemory.PhysicalMemoryProperty SMBIOSMEMORYTYPE
-
SERIALNUMBER
public static final Win32PhysicalMemory.PhysicalMemoryProperty SERIALNUMBER
-
-
Method Detail
-
values
public static Win32PhysicalMemory.PhysicalMemoryProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Win32PhysicalMemory.PhysicalMemoryProperty c : Win32PhysicalMemory.PhysicalMemoryProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Win32PhysicalMemory.PhysicalMemoryProperty valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-