blob: 6c5b690b16a07391259d79b988887bbf51dcb132 [file] [log] [blame]
/**********************************************************************
* This file is part of "Object Teams Development Tooling"-Software
*
* Copyright 2004, 2010 Fraunhofer Gesellschaft, Munich, Germany,
* for its Fraunhofer Institute and Computer Architecture and Software
* Technology (FIRST), Berlin, Germany and Technical University Berlin,
* Germany.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
* $Id: SegmentIterator.java 23501 2010-02-08 18:27:55Z stephan $
*
* Please visit http://www.eclipse.org/objectteams for updates and contact.
*
* Contributors:
* Fraunhofer FIRST - Initial API and implementation
* Technical University Berlin - Initial API and implementation
**********************************************************************/
package org.eclipse.objectteams.example.flightbooking.util;
import org.eclipse.objectteams.example.flightbooking.model.Segment;
/**
* This interface is used to make the <code>SegmentIterator</code>,
* implemented as an inner class in <code>SegmentList</code>, usable outside
* of that class.
*/
public interface SegmentIterator
{
public boolean hasNext();
public Segment getNext();
}