[Minor] Added JavaDoc to Parameter.compareTo()
This commit is contained in:
parent
a85fa26b5e
commit
6d9a9464d8
|
@ -198,6 +198,14 @@ public abstract class AbstractParameter<T> extends AbstractStrolchElement implem
|
||||||
return builder.toString();
|
return builder.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Compares the value of the given parameter to this parameter
|
||||||
|
*
|
||||||
|
* @param otherParam
|
||||||
|
* the parameter for which the value is to be compared to
|
||||||
|
*
|
||||||
|
* @return the {@link Comparable#compareTo(Object)} result
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public abstract int compareTo(Parameter<?> otherParam);
|
public abstract int compareTo(Parameter<?> otherParam);
|
||||||
}
|
}
|
||||||
|
|
|
@ -185,6 +185,14 @@ public interface Parameter<T> extends StrolchElement, Comparable<Parameter<?>> {
|
||||||
@Override
|
@Override
|
||||||
boolean equals(Object obj);
|
boolean equals(Object obj);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Compares the value of the given parameter to this parameter
|
||||||
|
*
|
||||||
|
* @param o
|
||||||
|
* the parameter for which the value is to be compared to
|
||||||
|
*
|
||||||
|
* @return the {@link Comparable#compareTo(Object)} result
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
int compareTo(Parameter<?> o);
|
int compareTo(Parameter<?> o);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue