Record Class VulkanMemoryHeapIndex
java.lang.Object
java.lang.Record
com.io7m.jcoronado.api.VulkanMemoryHeapIndex
- Record Components:
value- The index value
- All Implemented Interfaces:
Comparable<VulkanMemoryHeapIndex>
public record VulkanMemoryHeapIndex(int value)
extends Record
implements Comparable<VulkanMemoryHeapIndex>
The unique index of a memory heap.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVulkanMemoryHeapIndex(int value) Creates an instance of aVulkanMemoryHeapIndexrecord 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
-
VulkanMemoryHeapIndex
public VulkanMemoryHeapIndex(int value) Creates an instance of aVulkanMemoryHeapIndexrecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<VulkanMemoryHeapIndex>
-
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
-