Record Class VulkanMemoryTypeIndex
java.lang.Object
java.lang.Record
com.io7m.jcoronado.api.VulkanMemoryTypeIndex
- Record Components:
value- The index value
- All Implemented Interfaces:
Comparable<VulkanMemoryTypeIndex>
public record VulkanMemoryTypeIndex(int value)
extends Record
implements Comparable<VulkanMemoryTypeIndex>
The unique index of a memory type.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVulkanMemoryTypeIndex(int value) Creates an instance of aVulkanMemoryTypeIndexrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.intvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
VulkanMemoryTypeIndex
public VulkanMemoryTypeIndex(int value) Creates an instance of aVulkanMemoryTypeIndexrecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<VulkanMemoryTypeIndex>
-
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 with thecomparemethod from their corresponding wrapper classes. -
value
-