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: DxVector.java,v 1.1 2001/12/18 10:31:30 per_nyfelt Exp $
08:
09: package org.ozoneDB.DxLib;
10:
11: /**
12: * Indexable collection. Like an array, it contains components that can be
13: * accessed using an integer index. However, the size of a vector can grow or
14: * shrink.
15: *
16: *
17: * @author <a href="http://www.softwarebuero.de/">SMB</a>
18: * @version $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
19: */
20: public interface DxVector extends DxCollection {
21:
22: public Object addAtIndex(Object obj, int index);
23:
24: public Object elementAtIndex(int index);
25:
26: public Object removeAtIndex(int index);
27:
28: public void insertAtIndex(Object obj, int index);
29:
30: public Object deleteAtIndex(int index);
31:
32: public int space();
33:
34: public int size();
35: }
|