1 // You can redistribute this software and/or modify it under the terms of 2 // the Ozone Core License version 1 published by ozone-db.org. 3 // 4 // The original code and portions created by SMB are 5 // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved. 6 // 7 // $Id: SimpleIterator.java,v 1.1 2001/12/18 10:31:30 per_nyfelt Exp $ 8 package org.ozoneDB.data; 9 import java.util.Iterator; 10 /** 11 Ein Iterator ohne {@link java.util.Iterator#remove}-Unterstützung. 12 13 @author <A HREF="http://www.medium.net/">Medium.net</A> 14 */ 15 public abstract class SimpleIterator extends Object implements Iterator { 16 /** 17 Erzeugt einen neuen SimpleIterator. 18 */ 19 public SimpleIterator() { 20 } 21 22 /** 23 Soll das unterliegende Element entfernen. Unterklassen implementieren jedoch nicht dieses 24 Feature. 25 26 @throws UnsupportedOperationException in jedem Fall. 27 */ 28 public void remove() throws UnsupportedOperationException { 29 throw new UnsupportedOperationException(); 30 } 31 }