ArgumentToString
Date: 2015-09-17

org.easymock.internal

## Class ArgumentToString

- java.lang.Object
- - org.easymock.internal.ArgumentToString

-     public final class ArgumentToString
      extends java.lang.Object

  Utility class to convert method arguments to Strings

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `appendArgument(java.lang.Object value, java.lang.StringBuffer buffer)`
    `static java.lang.String` | `argumentsToString(java.lang.Object... arguments)` Returns a string representation of the arguments.
    `static java.lang.String` | `argumentToString(java.lang.Object argument)` Converts an argument to a String using `appendArgument(Object, StringBuffer)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### appendArgument

          public static void appendArgument(java.lang.Object value,
                            java.lang.StringBuffer buffer)

    - #### argumentToString

          public static java.lang.String argumentToString(java.lang.Object argument)

      Converts an argument to a String using `appendArgument(Object, StringBuffer)`
      Parameters:
        `argument` - the argument to convert to a String.
      Returns:
        a `String` representation of the argument.

    - #### argumentsToString

          public static java.lang.String argumentsToString(java.lang.Object... arguments)

      Returns a string representation of the arguments. This convenience implementation calls `argumentToString(Object)` for every argument in the given array and returns the string representations of the arguments separated by commas.
      Parameters:
        `arguments` - the arguments to be used in the string representation.
      Returns:
        a string representation of the matcher.