|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2018 the original author or authors. |
|
|
|
* Copyright 2002-2019 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -639,7 +639,7 @@ public abstract class ObjectUtils { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Determine the class name for the given object. |
|
|
|
* Determine the class name for the given object. |
|
|
|
* <p>Returns {@code "null"} if {@code obj} is {@code null}. |
|
|
|
* <p>Returns a {@code "null"} String if {@code obj} is {@code null}. |
|
|
|
* @param obj the object to introspect (may be {@code null}) |
|
|
|
* @param obj the object to introspect (may be {@code null}) |
|
|
|
* @return the corresponding class name |
|
|
|
* @return the corresponding class name |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -650,7 +650,7 @@ public abstract class ObjectUtils { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Return a String representation of the specified Object. |
|
|
|
* Return a String representation of the specified Object. |
|
|
|
* <p>Builds a String representation of the contents in case of an array. |
|
|
|
* <p>Builds a String representation of the contents in case of an array. |
|
|
|
* Returns {@code "null"} if {@code obj} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code obj} is {@code null}. |
|
|
|
* @param obj the object to build a String representation for |
|
|
|
* @param obj the object to build a String representation for |
|
|
|
* @return a String representation of {@code obj} |
|
|
|
* @return a String representation of {@code obj} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -696,8 +696,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -727,8 +727,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -759,8 +759,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -790,8 +790,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -821,8 +821,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -853,8 +853,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -885,8 +885,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -916,8 +916,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -947,8 +947,8 @@ public abstract class ObjectUtils { |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* Return a String representation of the contents of the specified array. |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* <p>The String representation consists of a list of the array's elements, |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* enclosed in curly braces ({@code "{}"}). Adjacent elements are separated |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). Returns |
|
|
|
* by the characters {@code ", "} (a comma followed by a space). |
|
|
|
* {@code "null"} if {@code array} is {@code null}. |
|
|
|
* Returns a {@code "null"} String if {@code array} is {@code null}. |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @param array the array to build a String representation for |
|
|
|
* @return a String representation of {@code array} |
|
|
|
* @return a String representation of {@code array} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|