Lines Matching defs:mutable
26 /** whether this instance is mutable */
27 private boolean mutable;
30 * Constructs an instance. It is initially mutable.
33 mutable = true;
39 * @param mutable {@code true} iff this instance is mutable
41 public MutabilityControl(boolean mutable) {
42 this.mutable = mutable;
49 mutable = false;
59 return !mutable;
63 * Checks to see whether or not this instance is mutable.
65 * @return {@code true} iff this instance is mutable
68 return mutable;
76 if (!mutable) {
82 * Throws {@link MutabilityException} if this instance is mutable.
85 if (mutable) {
86 throw new MutabilityException("mutable instance");