1 /* 2 * Copyright (C) Chaperon. All rights reserved. 3 * ------------------------------------------------------------------------- 4 * This software is published under the terms of the Apache Software License 5 * version 1.1, a copy of which has been included with this distribution in 6 * the LICENSE file. 7 */ 8 9 package net.sourceforge.chaperon.model.extended; 10 11 /** 12 * for(PatternIterator i=map.iterate(ancestor); i.hasNext();) Pattern successor = i.next(); 13 */ 14 public interface PatternIterator 15 { 16 public boolean hasNext(); 17 18 public Pattern next(); 19 } 20