01: // You can redistribute this software and/or modify it under the terms of
02: // the Ozone Library License version 1 published by ozone-db.org.
03: //
04: // The original code and portions created by SMB are
05: // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
06: //
07: // $Id: DxAbstractIterator.java,v 1.1 2001/12/18 10:31:30 per_nyfelt Exp $
08:
09: package org.ozoneDB.DxLib;
10:
11: import java.io.*;
12:
13: /**
14: *
15: *
16: * @author <a href="http://www.softwarebuero.de/">SMB</a>
17: * @version $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
18: */
19: public abstract class DxAbstractIterator extends DxObject implements
20: DxIterator {
21:
22: final static long serialVersionUID = 1L;
23:
24: boolean atFirstObject;
25: boolean objectRemoved;
26:
27: /**
28: * It is not a good idea to declare this abstract because some
29: * sub-classes do not know how to implement this method.
30: */
31: public Object key() {
32: throw new RuntimeException("key(): subsclass responsibility");
33: }
34: }
|