Class Table
java.lang.Object
io.github.elebras1.flecs.Table
-
Method Summary
Modifier and TypeMethodDescriptionvoidintcolumnIndex(long id) intcolumnIndex(long first, long second) intcolumnIndex(Class<?> componentClass) intcolumnIndex(Class<?> firstClass, Class<?> secondClass) longcolumnSize(int columnIndex) intcount()intdepth(long rel) intlong[]entities()<V extends ComponentView>
voidforEachRow(Class<?> componentClass, RowCallback<V> callback) <T> T<T> T<V extends ComponentView>
VgetColumnView(Class<?> componentClass, int row) <V extends ComponentView>
VgetMutView(Class<?> componentClass, int row) <V extends ComponentView>
VgetMutView(Class<?> firstClass, Class<?> secondClass, int row) <V extends ComponentRowView>
VgetRowView(Class<?> componentClass) booleanhas(long id) booleanhas(long first, long second) booleanbooleanbooleanhasFlags(int flags) longid()voidlock()voidresetColumn(Class<?> componentClass) intsize()str()<T> T<T> T<V extends ComponentView>
VtryGetMutView(Class<?> componentClass, int row) <V extends ComponentView>
VtryGetMutView(Class<?> firstClass, Class<?> secondClass, int row) long[]type()inttypeIndex(long id) inttypeIndex(long first, long second) intintvoidunlock()
-
Method Details
-
str
-
type
public long[] type() -
count
public int count() -
size
public int size() -
entities
public long[] entities() -
clearEntities
public void clearEntities() -
typeIndex
public int typeIndex(long id) -
typeIndex
-
typeIndex
public int typeIndex(long first, long second) -
typeIndex
-
columnIndex
public int columnIndex(long id) -
columnIndex
-
columnIndex
public int columnIndex(long first, long second) -
columnIndex
-
has
public boolean has(long id) -
has
-
has
public boolean has(long first, long second) -
has
-
get
-
get
-
getMutView
-
getMutView
-
tryGet
-
tryGet
-
tryGetMutView
-
tryGetMutView
public <V extends ComponentView> V tryGetMutView(Class<?> firstClass, Class<?> secondClass, int row) -
getColumnView
-
forEachRow
-
columnSize
public long columnSize(int columnIndex) -
depth
public int depth(long rel) -
depth
-
id
public long id() -
lock
public void lock() -
unlock
public void unlock() -
hasFlags
public boolean hasFlags(int flags) -
resetColumn
-
getRowView
-