Package org.pkl.core

Class Platform.VirtualMachine

  • Enclosing class:
    Platform

    public static final class Platform.VirtualMachine
    extends java.lang.Object
    The virtual machine of a platform.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String name()
      The name of this virtual machine.
      java.lang.String version()
      The version of this virtual machine.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VirtualMachine

        public VirtualMachine​(java.lang.String name,
                              java.lang.String version)
    • Method Detail

      • name

        public java.lang.String name()
        The name of this virtual machine.
      • version

        public java.lang.String version()
        The version of this virtual machine.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object