Package com.io7m.waxmill.machines

# Interface WXMCPUTopologyType.WXMPinCPUType

All Superinterfaces:
  `java.lang.Comparable<WXMCPUTopologyType.WXMPinCPUType>`

All Known Implementing Classes:
  `WXMPinCPU`

Enclosing interface:
  WXMCPUTopologyType

    @Immutable
    public static interface WXMCPUTopologyType.WXMPinCPUType
    extends java.lang.Comparable<WXMCPUTopologyType.WXMPinCPUType>

A description of a CPU pin. The given guest CPU is pinned to the given host CPU.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `default int` | `compareTo​(WXMCPUTopologyType.WXMPinCPUType other)` |
  `int` | `guestCPU()` |
  `int` | `hostCPU()` |

- ## Method Details

  - ### hostCPU

    int hostCPU()
    Returns:
      The index of the host CPU

  - ### guestCPU

    int guestCPU()
    Returns:
      The index of the guest CPU

  - ### compareTo

    default int compareTo​(WXMCPUTopologyType.WXMPinCPUType other)
    Specified by:
      `compareTo` in interface `java.lang.Comparable<WXMCPUTopologyType.WXMPinCPUType>`