add helper

This commit is contained in:
Hannes Janetzek
2013-10-09 01:55:48 +02:00
parent a9f5525c50
commit 9a86b6b134
+8 -8
View File
@@ -29,14 +29,14 @@ public class VertexPool {
pool = null; pool = null;
} }
// public static VertexPoolItem get(VertexPoolItem prev) { public static VertexPoolItem getNext(VertexPoolItem prev) {
// VertexPoolItem it = get(); VertexPoolItem it = get();
// if (prev != null) { if (prev != null) {
// prev.next = it; prev.next = it;
// prev.used = VertexPoolItem.SIZE; prev.used = VertexPoolItem.SIZE;
// } }
// return it; return it;
// } }
public static synchronized VertexPoolItem get() { public static synchronized VertexPoolItem get() {