Record Class CombinedRuntimeLoader.ResourceInformation
java.lang.Object
java.lang.Record
org.photonvision.jni.CombinedRuntimeLoader.ResourceInformation
- Enclosing class:
CombinedRuntimeLoader
public static record CombinedRuntimeLoader.ResourceInformation(String hash, Map<String, CombinedRuntimeLoader.PlatformInfo> platforms, List<String> versions)
extends Record
Overall resource information to be serialized
-
Constructor Summary
ConstructorsConstructorDescriptionResourceInformation(String hash, Map<String, CombinedRuntimeLoader.PlatformInfo> platforms, List<String> versions) Creates an instance of aResourceInformationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.hash()Returns the value of thehashrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theplatformsrecord component.final StringtoString()Returns a string representation of this record class.versions()Returns the value of theversionsrecord component.
-
Constructor Details
-
ResourceInformation
public ResourceInformation(String hash, Map<String, CombinedRuntimeLoader.PlatformInfo> platforms, List<String> versions) Creates an instance of aResourceInformationrecord class.- Parameters:
hash- the value for thehashrecord componentplatforms- the value for theplatformsrecord componentversions- the value for theversionsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
hash
-
platforms
Returns the value of theplatformsrecord component.- Returns:
- the value of the
platformsrecord component
-
versions
-