Package org.pkl.core
Class Platform.Runtime
- java.lang.Object
-
- org.pkl.core.Platform.Runtime
-
- Enclosing class:
- Platform
public static final class Platform.Runtime extends java.lang.ObjectThe language runtime of a platform.
-
-
Constructor Summary
Constructors Constructor Description Runtime(java.lang.String name, java.lang.String version)Constructs aPlatform.Runtime.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()java.lang.Stringname()The name of this language runtime.java.lang.Stringversion()The version of this language runtime.
-
-
-
Constructor Detail
-
Runtime
public Runtime(java.lang.String name, java.lang.String version)Constructs aPlatform.Runtime.
-
-
Method Detail
-
name
public java.lang.String name()
The name of this language runtime.
-
version
public java.lang.String version()
The version of this language runtime.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-