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 aConstPointerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConstPointer<Byte> allocateCString(Arena arena, String string) asConst()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ms()Returns the value of themsrecord component.static <T> ConstPointer<T> final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConstPointer
Creates an instance of aConstPointerrecord class.- Parameters:
ms- the value for themsrecord 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 themsrecord component.
-