Add generic type parameter javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1448293 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9e4c7ad562
commit
8bfee9ba52
|
@ -839,6 +839,7 @@ public class ObjectUtils {
|
|||
* have to recompile themselves if the field's value
|
||||
* changes at some future date.
|
||||
*
|
||||
* @param <T> the Object type
|
||||
* @param v the genericized Object value to return (typically a String).
|
||||
* @return the genericized Object v, unchanged (typically a String).
|
||||
*/
|
||||
|
|
|
@ -187,7 +187,8 @@ public class SerializationUtils {
|
|||
* Without Generics in this declaration, the call site must type cast and can cause the same ClassCastException.
|
||||
* Note that in both cases, the ClassCastException is in the call site, not in this method.
|
||||
* </p>
|
||||
*
|
||||
*
|
||||
* @param <T> the object type to be deserialized
|
||||
* @param inputStream
|
||||
* the serialized object input stream, must not be null
|
||||
* @return the deserialized object
|
||||
|
@ -234,6 +235,7 @@ public class SerializationUtils {
|
|||
* Note that in both cases, the ClassCastException is in the call site, not in this method.
|
||||
* </p>
|
||||
*
|
||||
* @param <T> the object type to be deserialized
|
||||
* @param objectData
|
||||
* the serialized object, must not be null
|
||||
* @return the deserialized object
|
||||
|
|
Loading…
Reference in New Issue