public static void main(String[] args) {

        RecordCollection recordCollection = new RecordCollection();

        IIterator iIterator = recordCollection.createIterator();

        while (iIterator.hasNext()) {

            System.out.println(iIterator.next());

        }
    }