Record Class GLFWmonitor
java.lang.Object
java.lang.Record
dev.pfaff.glass.glfw.GLFWmonitor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGLFWmonitor
(MemorySegment handle) Creates an instance of aGLFWmonitor
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.handle()
Returns the value of thehandle
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
GLFWmonitor
Creates an instance of aGLFWmonitor
record class.- Parameters:
handle
- the value for thehandle
record 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
handle
Returns the value of thehandle
record component.- Returns:
- the value of the
handle
record component
-