Javadoc clarifications and tidy

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@830027 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2009-10-26 23:49:25 +00:00
parent 45008b994b
commit ffeea79694
1 changed files with 5 additions and 7 deletions

View File

@ -47,8 +47,7 @@ public class MutableObject<T> implements Mutable<T>, Serializable {
/** /**
* Constructs a new MutableObject with the specified value. * Constructs a new MutableObject with the specified value.
* *
* @param value * @param value the initial value to store
* a value.
*/ */
public MutableObject(T value) { public MutableObject(T value) {
super(); super();
@ -59,7 +58,7 @@ public class MutableObject<T> implements Mutable<T>, Serializable {
/** /**
* Gets the value. * Gets the value.
* *
* @return the value * @return the value, may be null
*/ */
public T getValue() { public T getValue() {
return this.value; return this.value;
@ -68,8 +67,7 @@ public class MutableObject<T> implements Mutable<T>, Serializable {
/** /**
* Sets the value. * Sets the value.
* *
* @param value * @param value the value to set
* the value to set
*/ */
public void setValue(T value) { public void setValue(T value) {
this.value = value; this.value = value;
@ -81,8 +79,7 @@ public class MutableObject<T> implements Mutable<T>, Serializable {
* is not <code>null</code> and is a <code>MutableObject</code> object that contains the same <code>T</code> * is not <code>null</code> and is a <code>MutableObject</code> object that contains the same <code>T</code>
* value as this object. * value as this object.
* *
* @param obj * @param obj the object to compare with, null returns false
* the object to compare with.
* @return <code>true</code> if the objects are the same; <code>false</code> otherwise. * @return <code>true</code> if the objects are the same; <code>false</code> otherwise.
*/ */
public boolean equals(MutableObject<T> obj) { public boolean equals(MutableObject<T> obj) {
@ -104,6 +101,7 @@ public class MutableObject<T> implements Mutable<T>, Serializable {
return value == null ? 0 : value.hashCode(); return value == null ? 0 : value.hashCode();
} }
//-----------------------------------------------------------------------
/** /**
* Returns the String value of this mutable. * Returns the String value of this mutable.
* *