Record Class VulkanQueueFamilyIndex
java.lang.Object
java.lang.Record
com.io7m.jcoronado.api.VulkanQueueFamilyIndex
- Record Components:
value- The actual index value
- All Implemented Interfaces:
Comparable<VulkanQueueFamilyIndex>
public record VulkanQueueFamilyIndex(int value)
extends Record
implements Comparable<VulkanQueueFamilyIndex>
The index of a queue family.
-
Constructor Summary
ConstructorsConstructorDescriptionVulkanQueueFamilyIndex(int value) Creates an instance of aVulkanQueueFamilyIndexrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(VulkanQueueFamilyIndex other) final 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
-
VulkanQueueFamilyIndex
public VulkanQueueFamilyIndex(int value) Creates an instance of aVulkanQueueFamilyIndexrecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<VulkanQueueFamilyIndex>
-
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 '=='. -
value
-