KickJava   Java API By Example, From Geeks To Geeks.

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


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: DxVector.java,v 1.6 2000/10/28 16:55:14 daniela Exp $
8

9 package org.ozoneDB.DxLib;
10
11
12 /**
13  * Indexable collection. Like an array, it contains components that can be
14  * accessed using an integer index. However, the size of a vector can grow or
15  * shrink.
16  *
17  *
18  * @author <a HREF="http://www.softwarebuero.de/">SMB</a>
19  * @version $Revision: 1.6 $Date: 2000/10/28 16:55:14 $
20  */

21 public interface DxVector extends DxCollection {
22     
23     
24     public Object JavaDoc addAtIndex( Object JavaDoc obj, int index );
25     
26     
27     public Object JavaDoc elementAtIndex( int index );
28     
29     
30     public Object JavaDoc removeAtIndex( int index );
31     
32     
33     public void insertAtIndex( Object JavaDoc obj, int index );
34     
35     
36     public Object JavaDoc deleteAtIndex( int index );
37     
38     
39     public int space();
40     
41     
42     public int size();
43 }
44
Popular Tags