List of usage examples for com.badlogic.gdx.utils Bits length
public int length()
From source file:com.badlogic.ashley.core.Family.java
License:Apache License
private static String getBitsString(Bits bits) { StringBuilder stringBuilder = new StringBuilder(); int numBits = bits.length(); for (int i = 0; i < numBits; ++i) { stringBuilder.append(bits.get(i) ? "1" : "0"); }// w w w .j a v a 2 s .c om return stringBuilder.toString(); }