package pw.koj.jetstreem.core;

import java.util.concurrent.LinkedBlockingQueue;

public final class StrmQueue extends LinkedBlockingQueue {
    private static StrmQueue instance;

    private StrmQueue() {
        super();
    }

    public static synchronized StrmQueue getInstance() {
        if (instance == null) {
            instance = new StrmQueue();
        }
        return instance;
    }

    public void queueExec() {
        StrmQueueEntry entry = (StrmQueueEntry)this.poll();

        entry.perform();
    }

}


@@ -518,11 +518,80 @@
 %0A    %7D%0A%0A
+    public boolean queueP() %7B%0A        return this.size() %3E 0;%0A    %7D%0A%0A
 %7D%0A%0A

add queueP() to StrmQueue