org.ozoneDB.collections
Interface BaseList

All Superinterfaces:
java.util.Collection, java.util.List, OzoneCollection, org.ozoneDB.OzoneCompatibleOrProxy, OzoneList, org.ozoneDB.OzoneRemote
All Known Subinterfaces:
_BaseList_SubList, FullLinkedList
All Known Implementing Classes:
_BaseList_RandomAccessSubListImpl, _BaseList_SubListImpl, BaseListImpl, FullLinkedListImpl

public interface BaseList
extends OzoneList

You are encouraged NOT to use this interface, but rather just use OzoneList, which does not contain the 'internal' methods, or even SortedMap, which does not have any ozone dependency at all

This interface functions as a sort of base interface for ozone aware lists, were those lists themselves can implement if the nodes in the list are ozone objects themselves or merely serializables.

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

Method Summary
 java.util.List _org_ozoneDB_emptyClientCollection()
          Needed for sub lists so that they can return the same type of list as the sub lists backing list would when getClientXxx() is called.
 int _org_ozoneDB_getModCount()
           
 void _org_ozoneDB_removeRange(int fromIndex, int toIndex)
           
 
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

_org_ozoneDB_getModCount

public int _org_ozoneDB_getModCount()

_org_ozoneDB_removeRange

public void _org_ozoneDB_removeRange(int fromIndex,
                                     int toIndex)

_org_ozoneDB_emptyClientCollection

public java.util.List _org_ozoneDB_emptyClientCollection()
Needed for sub lists so that they can return the same type of list as the sub lists backing list would when getClientXxx() is called.

Returns:
empty list, to be filled and returned to client via getClientXxx()


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