Record Class World.FlecsBuffers
java.lang.Object
java.lang.Record
com.github.elebras1.flecs.World.FlecsBuffers
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
World
public static record World.FlecsBuffers(com.github.elebras1.flecs.World.NameBuffer nameBuffer, com.github.elebras1.flecs.World.ComponentBuffer componentBuffer, com.github.elebras1.flecs.World.EntityDescBuffer entityDescBuffer)
extends Record
implements AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionFlecsBuffers(com.github.elebras1.flecs.World.NameBuffer nameBuffer, com.github.elebras1.flecs.World.ComponentBuffer componentBuffer, com.github.elebras1.flecs.World.EntityDescBuffer entityDescBuffer) Creates an instance of aFlecsBuffersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()com.github.elebras1.flecs.World.ComponentBufferReturns the value of thecomponentBufferrecord component.com.github.elebras1.flecs.World.EntityDescBufferReturns the value of theentityDescBufferrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.github.elebras1.flecs.World.NameBufferReturns the value of thenameBufferrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FlecsBuffers
public FlecsBuffers() -
FlecsBuffers
public FlecsBuffers(com.github.elebras1.flecs.World.NameBuffer nameBuffer, com.github.elebras1.flecs.World.ComponentBuffer componentBuffer, com.github.elebras1.flecs.World.EntityDescBuffer entityDescBuffer) Creates an instance of aFlecsBuffersrecord class.- Parameters:
nameBuffer- the value for thenameBufferrecord componentcomponentBuffer- the value for thecomponentBufferrecord componententityDescBuffer- the value for theentityDescBufferrecord component
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
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). -
nameBuffer
public com.github.elebras1.flecs.World.NameBuffer nameBuffer()Returns the value of thenameBufferrecord component.- Returns:
- the value of the
nameBufferrecord component
-
componentBuffer
public com.github.elebras1.flecs.World.ComponentBuffer componentBuffer()Returns the value of thecomponentBufferrecord component.- Returns:
- the value of the
componentBufferrecord component
-
entityDescBuffer
public com.github.elebras1.flecs.World.EntityDescBuffer entityDescBuffer()Returns the value of theentityDescBufferrecord component.- Returns:
- the value of the
entityDescBufferrecord component
-