KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > DxLib > DxAbstractIterator


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library 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: DxAbstractIterator.java,v 1.5 2000/10/28 16:55:14 daniela Exp $
8

9 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.5 $Date: 2000/10/28 16:55:14 $
18  */

19 public abstract class DxAbstractIterator extends DxObject implements DxIterator {
20     
21     final static long serialVersionUID = 1L;
22     
23     boolean atFirstObject;
24     boolean objectRemoved;
25     
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 JavaDoc key() {
32         throw new RuntimeException JavaDoc( "key(): subsclass responsibility" );
33     }
34 }
35
Popular Tags