|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of removable objectspublic interface Removable<T>
Interface for classes that supports removal of a current object.
Method Summary | |
---|---|
T |
getCurrentObject()
Returns the current object (that can be removed). |
void |
remove()
Removes the current object. |
Method Detail |
---|
T getCurrentObject() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- if there is no current objectvoid remove() throws java.lang.IllegalStateException, BucketStorageException
java.lang.IllegalStateException
- there is no current object to be removed
or the current object has been removed (e.g. by a previous
call to remove()
)
BucketStorageException
- if there was an error removing the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |