Class WXMConsoles

java.lang.Object
com.io7m.waxmill.machines.WXMConsoles

public final class WXMConsoles
extends java.lang.Object
Functions over consoles.
  • Method Summary

    Modifier and Type Method Description
    static java.util.Optional<WXMDeviceType> findDefaultConsole​(WXMVirtualMachine machine)
    Find the default console for the given machine.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • findDefaultConsole

      public static java.util.Optional<WXMDeviceType> findDefaultConsole​(WXMVirtualMachine machine)
      Find the default console for the given machine.
      Parameters:
      machine - The machine
      Returns:
      The default console, if exactly one exists