001/*
002// This software is subject to the terms of the Eclipse Public License v1.0
003// Agreement, available at the following URL:
004// http://www.eclipse.org/legal/epl-v10.html.
005// You must accept the terms of that agreement to use this software.
006//
007// Copyright (C) 2011-2011 Pentaho
008// All Rights Reserved.
009*/
010package mondrian.calc;
011
012import mondrian.olap.Member;
013
014import java.util.Iterator;
015import java.util.List;
016
017/**
018 * Extension to {@link java.util.Iterator} that returns tuples.
019 *
020 * <p>Extends {@link TupleCursor} to support the standard Java iterator
021 * API. For some implementations, using the iterator API (in particular the
022 * {@link #next} and {@link #hasNext} methods) may be more expensive than using
023 * cursor's {@link #forward} method.
024 *
025 * @author jhyde
026 */
027public interface TupleIterator extends Iterator<List<Member>>, TupleCursor {
028
029}
030
031// End TupleIterator.java