KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > collections > OzoneArrayList


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
// This file is
5
// Copyright (C) 2002-@year@ Leo Mekenkamp. All rights reserved.
6
// $Id: OzoneArrayList.java,v 1.1 2002/10/24 15:41:16 per_nyfelt Exp $
7

8 package org.ozoneDB.collections;
9
10 import java.util.ArrayList JavaDoc;
11 import java.util.RandomAccess JavaDoc;
12
13 /**
14  * See the overall description on {@link org.ozoneDB.collections.OzoneCollection}.
15  * @author <a HREF="mailto:ozoneATmekenkampD0Tcom">Leo Mekenkamp (mind the anti-sp@m)</a>
16  */

17 public interface OzoneArrayList extends OzoneList, RandomAccess JavaDoc {
18     
19     public void trimToSize(); /*update*/
20     
21     public void ensureCapacity(int minCapacity); /*update*/
22     
23     /**
24      * <p>Returns an <code>ArrayList</code> that contains the same entries as this
25      * persistent one; it is (by nature of the client-server enviromnent) always
26      * a 'deep' copy of this <code>OzoneArrayList</code>. I.e. the contents of
27      * this <code>OzoneArrayList</code> instance are always copied to the client
28      * by use of serialization.</p>
29      */

30     public ArrayList JavaDoc getClientArrayList();
31     
32 }
33
Popular Tags