mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-12 21:15:05 +00:00
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:
parent
45008b994b
commit
ffeea79694
@ -47,8 +47,7 @@ public MutableObject() {
|
||||
/**
|
||||
* Constructs a new MutableObject with the specified value.
|
||||
*
|
||||
* @param value
|
||||
* a value.
|
||||
* @param value the initial value to store
|
||||
*/
|
||||
public MutableObject(T value) {
|
||||
super();
|
||||
@ -59,7 +58,7 @@ public MutableObject(T value) {
|
||||
/**
|
||||
* Gets the value.
|
||||
*
|
||||
* @return the value
|
||||
* @return the value, may be null
|
||||
*/
|
||||
public T getValue() {
|
||||
return this.value;
|
||||
@ -68,8 +67,7 @@ public T getValue() {
|
||||
/**
|
||||
* Sets the value.
|
||||
*
|
||||
* @param value
|
||||
* the value to set
|
||||
* @param value the value to set
|
||||
*/
|
||||
public void setValue(T value) {
|
||||
this.value = value;
|
||||
@ -81,8 +79,7 @@ public void setValue(T value) {
|
||||
* is not <code>null</code> and is a <code>MutableObject</code> object that contains the same <code>T</code>
|
||||
* value as this object.
|
||||
*
|
||||
* @param obj
|
||||
* the object to compare with.
|
||||
* @param obj the object to compare with, null returns false
|
||||
* @return <code>true</code> if the objects are the same; <code>false</code> otherwise.
|
||||
*/
|
||||
public boolean equals(MutableObject<T> obj) {
|
||||
@ -104,6 +101,7 @@ public int hashCode() {
|
||||
return value == null ? 0 : value.hashCode();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
/**
|
||||
* Returns the String value of this mutable.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user