public final class ArgumentToString extends Object
Modifier and Type | Method and Description |
---|---|
static void |
appendArgument(Object value,
StringBuffer buffer) |
static String |
argumentsToString(Object... arguments)
Returns a string representation of the arguments.
|
static String |
argumentToString(Object argument)
Converts an argument to a String using
appendArgument(Object, StringBuffer) |
public static void appendArgument(Object value, StringBuffer buffer)
public static String argumentToString(Object argument)
appendArgument(Object, StringBuffer)
argument
- the argument to convert to a String.String
representation of the argument.public static String argumentsToString(Object... arguments)
argumentToString(Object)
for every argument
in the given array and returns the string representations of the
arguments separated by commas.arguments
- the arguments to be used in the string representation.Copyright © 2001–2022 EasyMock contributors. All rights reserved.