class OperationQueue {

    Collection<Operation> toCollection() {
        ArrayList<Operation> clone = new ArrayList<>(this.elementCount);
        for (Operation op : this.store) {
            clone.add(op);
        }
        return clone;
    }

    private  OperationQueue();

}