Record Class CheckpointExtension.QueueCheckpoints
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.checkpoints.CheckpointExtension.QueueCheckpoints
- Enclosing interface:
CheckpointExtension
public static record CheckpointExtension.QueueCheckpoints(long queue, List<CheckpointExtension.StageCheckpoint> checkpoints)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<CheckpointExtension.StageCheckpoint> The field for thecheckpointsrecord component.private final longThe field for thequeuerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionQueueCheckpoints(long queue, List<CheckpointExtension.StageCheckpoint> checkpoints) Creates an instance of aQueueCheckpointsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecheckpointsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longqueue()Returns the value of thequeuerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
queue
private final long queueThe field for thequeuerecord component. -
checkpoints
The field for thecheckpointsrecord component.
-
-
Constructor Details
-
QueueCheckpoints
Creates an instance of aQueueCheckpointsrecord class.- Parameters:
queue- the value for thequeuerecord componentcheckpoints- the value for thecheckpointsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
queue
public long queue()Returns the value of thequeuerecord component.- Returns:
- the value of the
queuerecord component
-
checkpoints
Returns the value of thecheckpointsrecord component.- Returns:
- the value of the
checkpointsrecord component
-