1 package org.ozoneDB.collections; 2 3 import java.util.List; 4 5 /** 6 * <p>You are encouraged NOT to use this interface, but rather just use {@link 7 * OzoneList}, which does not contain the 'internal' methods, or even 8 * {@link java.util.SortedMap}, which does not have any ozone dependency at all</p> 9 * <p>This interface functions as a sort of base interface for ozone aware lists, 10 * were those lists themselves can implement if the nodes in the list are 11 * ozone objects themselves or merely serializables.</p> 12 * 13 * @author <a HREF="mailto:ozoneATmekenkampD0Tcom">Leo Mekenkamp (mind the anti-sp@m)</a> (adaptation for ozone) 14 */ 15 public interface BaseList extends OzoneList { 16 17 public int _org_ozoneDB_getModCount(); 18 19 public void _org_ozoneDB_removeRange(int fromIndex, int toIndex); /*update*/ 20 21 /** 22 * Needed for sub lists so that they can return the same type of list as 23 * the sub lists backing list would when <code>getClientXxx()</code> is 24 * called. 25 * 26 * @return empty list, to be filled and returned to client via <code>getClientXxx()</code> 27 */ 28 public List _org_ozoneDB_emptyClientCollection(); 29 30 } 31