org.mule.util
Class CollectionUtils
java.lang.Object
org.apache.commons.collections.CollectionUtils
org.mule.util.CollectionUtils
- public class CollectionUtils
- extends CollectionUtils
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionUtils
public CollectionUtils()
toString
public static String toString(Collection c,
boolean newline)
- Creates a String representation of the given Collection, with optional
newlines between elements. Class objects are represented by their full names.
- Parameters:
c - the Collection to formatnewline - indicates whether elements are to be split across lines
- Returns:
- the formatted String
toString
public static String toString(Collection c,
int maxElements)
- Calls
toString(Collection, int, boolean) with false
for newline.
toString
public static String toString(Collection c,
int maxElements,
boolean newline)
- Creates a String representation of the given Collection, with optional
newlines between elements. Class objects are represented by their full names.
Considers at most
maxElements values; overflow is indicated by
an appended "[..]" ellipsis.
- Parameters:
c - the Collection to formatmaxElements - the maximum number of elements to take into accountnewline - indicates whether elements are to be split across lines
- Returns:
- the formatted String
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.