add helper

This commit is contained in:
Hannes Janetzek 2013-01-11 20:06:45 +01:00
parent a9f5525c50
commit 9a86b6b134

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() {