Record Class ConstPointer<T>
java.lang.Object
java.lang.Record
dev.pfaff.glass.opengl.ConstPointer<T>
- All Implemented Interfaces:
Pointer<T>
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aConstPointer
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConstPointer
<Byte> allocateCString
(Arena arena, String string) asConst()
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.ms()
Returns the value of thems
record component.static <T> ConstPointer
<T> final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ConstPointer
Creates an instance of aConstPointer
record class.- Parameters:
ms
- the value for thems
record component
-
-
Method Details
-
asConst
-
newNullable
-
allocateCString
-
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)
. -
ms
Returns the value of thems
record component.
-