KickJava   Java API By Example, From Geeks To Geeks.

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


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

9 package org.ozoneDB.DxLib;
10
11 import java.io.*;
12
13 /**
14  * Common interface of all collection classes.
15  *
16  *
17  * @author <a HREF="http://www.softwarebuero.de/">SMB</a>
18  * @version $Revision: 1.7 $Date: 2000/10/28 16:55:14 $
19  */

20 public interface DxCollection extends DxCompatible {
21     
22     
23     /**
24      */

25     public Object JavaDoc clone();
26     
27     
28     /**
29      */

30     public DxCollection valueClone();
31     
32     
33     /**
34      */

35     public Object JavaDoc[] toArray();
36     
37     
38     /**
39      */

40     public boolean add( Object JavaDoc obj );
41     
42     
43     /**
44      */

45     public boolean addAll( DxCollection coll );
46     
47     
48     /**
49      */

50     public boolean addAll( Object JavaDoc[] objs );
51     
52     
53     /**
54      */

55     public boolean remove( Object JavaDoc obj );
56     
57     
58     /**
59      */

60     public boolean removeAll( DxCollection coll );
61     
62     
63     /**
64      */

65     public boolean contains( Object JavaDoc obj );
66     
67     
68     /**
69      */

70     public boolean containsAll( DxCollection coll );
71     
72     
73     /**
74      */

75     public DxIterator iterator();
76     
77     
78     /**
79      */

80     public int count();
81     
82     
83     /**
84      */

85     public boolean isEmpty();
86     
87     
88     /**
89      */

90     public void clear();
91 }
92
Popular Tags