|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class follows the implementation requirements set forth in
AbstractList.subList(int, int)
. It matches Sun's implementation
by using a non-public top-level class in the same package.
Method Summary | |
void |
_org_ozoneDB_checkBoundsExclusive(int index)
This method checks that a value is between 0 (inclusive) and size (exclusive). |
void |
_org_ozoneDB_checkBoundsInclusive(int index)
This method checks that a value is between 0 and size (inclusive). |
void |
_org_ozoneDB_checkMod()
This method checks the two modCount fields to ensure that there has not been a concurrent modification, returning if all is okay. |
int |
_org_ozoneDB_getOffset()
Returns the offset of this sublist relative to the backing list. |
void |
_org_ozoneDB_incSize(int amount)
Called by an iterator when it removes an item from this sublist or inserts an item. |
void |
_org_ozoneDB_syncModCountWithBackingList()
|
Methods inherited from interface org.ozoneDB.collections.BaseList |
_org_ozoneDB_emptyClientCollection, _org_ozoneDB_getModCount, _org_ozoneDB_removeRange |
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 |
public void _org_ozoneDB_checkMod()
java.util.ConcurrentModificationException
- if the backing list has been
modified externally to this sublistpublic void _org_ozoneDB_checkBoundsInclusive(int index)
index
- the value to check
java.lang.IndexOutOfBoundsException
- if the value is out of rangepublic void _org_ozoneDB_checkBoundsExclusive(int index)
index
- the value to check
java.lang.IndexOutOfBoundsException
- if the value is out of rangepublic int _org_ozoneDB_getOffset()
public void _org_ozoneDB_incSize(int amount)
public void _org_ozoneDB_syncModCountWithBackingList()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |