@@ -0,0 +1,782 @@
+package com.mlefevre.maths.domain;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Apublic class FormulaElements %7B%0A%0A    private int currentIndex = 0;%0A%0A    private List%3CFormulaElement%3E elements = new ArrayList%3CFormulaElement%3E();%0A%0A%0A    public synchronized boolean hasNextElement() %7B%0A        return currentIndex %3C elements.size();%0A    %7D%0A%0A    public synchronized FormulaElement next() %7B%0A        if(!hasNextElement()) %7B%0A            return null;%0A        %7D%0A        FormulaElement currentElement = elements.get(currentIndex);%0A        currentIndex++;%0A        return currentElement;%0A    %7D%0A%0A%0A    public synchronized boolean hasElements() %7B%0A        return !elements.isEmpty();%0A    %7D%0A%0A    public synchronized void addElement(FormulaElement element) %7B%0A        elements.add(element);%0A    %7D%0A%0A%7D%0A

Create FormulaElements.java