|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Fixable
Represents an object with configurable mutability.
Method Summary | |
---|---|
boolean |
isFixed()
Returns true if this object cannot be modified. |
void |
setFixed(boolean fixed)
Sets the mutable/immutable state of this object. |
Method Detail |
---|
void setFixed(boolean fixed) throws IllegalModificationException
IllegalModificationException
- if the object does not support a specific
mutability shift. For example, most immutable objects
will not allow setFixed( false ).boolean isFixed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |