Back to index...
package rendering.source;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
class RenderQueueLine {
    final Map<Integer, List<ContentRecord>> renderQueueLine = new HashMap<>();
    public void add(int col, ContentRecord contentRecord) {
        List<ContentRecord> content = renderQueueLine.get(col);
        if (content == null) {
            content = new ArrayList<>();
            renderQueueLine.put(col, content);
        }
        content.add(contentRecord);
    }
}
Back to index...