"Queue: " + queue + ".size: " + queue.size() +
"Queue: " + myqueue + ".size: " + myqueue.size() +
    void ensureData (int amount)    {        boolean tempval = myqueue.size() < amount;        while (tempval)            {                assert source != null;                if (maxSize!=-1) {                    // give a better error message                    ERROR("ERROR:\n" +                           "Trying to pop or peek beyond the declared rate in stream " + sink + "\n" +                          "Make sure that your pop/peek statements match the declared rates.\n" +                          "\n" +                          "Internal message:\n" +                          "maxSize should equal -1 " +                          "(representing not a scheduled buffer)\n" +                          "Queue: " + queue +                          ".size: " + queue.size() +                          " amount is: " + amount +                          " and maxSize is: " + maxSize);                }                source.doWork();                tempval = myqueue.size() < amount;            }    }