org.ozoneDB.collections
Interface OzoneArrayList

All Superinterfaces:
java.util.Collection, java.util.List, OzoneCollection, org.ozoneDB.OzoneCompatibleOrProxy, OzoneList, org.ozoneDB.OzoneRemote, java.util.RandomAccess

public interface OzoneArrayList
extends OzoneList, java.util.RandomAccess

See the overall description on OzoneCollection.

Author:
Leo Mekenkamp (mind the anti-sp@m)

Method Summary
 void ensureCapacity(int minCapacity)
           
 java.util.ArrayList getClientArrayList()
          Returns an ArrayList that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneArrayList.
 void trimToSize()
           
 
Methods inherited from interface org.ozoneDB.collections.OzoneList
add, addAll, getClientList, remove, set
 
Methods inherited from interface org.ozoneDB.collections.OzoneCollection
_org_ozoneDB_internalIterator, add, addAll, clear, getClientCollection, remove, removeAll, retainAll
 
Methods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, size, subList, toArray, toArray
 

Method Detail

trimToSize

public void trimToSize()

ensureCapacity

public void ensureCapacity(int minCapacity)

getClientArrayList

public java.util.ArrayList getClientArrayList()

Returns an ArrayList that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneArrayList. I.e. the contents of this OzoneArrayList instance are always copied to the client by use of serialization.



Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.