Record Class VulkanQueueIndex
java.lang.Object
java.lang.Record
com.io7m.jcoronado.api.VulkanQueueIndex
- Record Components:
value- The actual index values
- All Implemented Interfaces:
Comparable<VulkanQueueIndex>
The index of a queue within the queue family to which it belongs.
-
Constructor Summary
ConstructorsConstructorDescriptionVulkanQueueIndex(int value) Creates an instance of aVulkanQueueIndexrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(VulkanQueueIndex 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
-
VulkanQueueIndex
public VulkanQueueIndex(int value) Creates an instance of aVulkanQueueIndexrecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<VulkanQueueIndex>
-
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
-