com.atlassian.pageobjects.elements.util
Class StringConcat
java.lang.Object
com.atlassian.pageobjects.elements.util.StringConcat
public final class StringConcat
- extends Object
Utility for string concatenation.
|
Method Summary |
static String |
asString(Object... elements)
Concatenate array of objects into a string in accordance with
JLS $15.18.1 (except that primitive values are not accepted
by this method other than by autoboxing). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPECTED_ELEMENT_LENGTH
public static final int EXPECTED_ELEMENT_LENGTH
- See Also:
- Constant Field Values
asString
public static String asString(@Nullable
Object... elements)
-
Concatenate array of objects into a string in accordance with
JLS $15.18.1 (except that primitive values are not accepted
by this method other than by autoboxing).
A
null passed as the whole elements array will
result in empty string being returned.
- Parameters:
elements - elements to convert
- Returns:
- string resulting from concatenating elements
Copyright © 2014 Atlassian. All rights reserved.