Creates a new instance of the appropriate platform-specific oshi.hardware.HardwareAbstractionLayer. @return A new instance of oshi.hardware.HardwareAbstractionLayer.
()
| 126 | * @return A new instance of {@link oshi.hardware.HardwareAbstractionLayer}. |
| 127 | */ |
| 128 | public HardwareAbstractionLayer getHardware() { |
| 129 | return hardware.get(); |
| 130 | } |
| 131 | |
| 132 | private static HardwareAbstractionLayer createHardware() { |
| 133 | switch (CURRENT_PLATFORM) { |