nl.toolforge.core.util.collection
Class CollectionUtil

java.lang.Object
  extended bynl.toolforge.core.util.collection.CollectionUtil

public final class CollectionUtil
extends java.lang.Object

Some utils. I reckon this sort of thing already exists. Just too lazy to look for it now.

Version:
$Id: CollectionUtil.java,v 1.1 2004/09/13 19:36:55 asmedes Exp $
Author:
D.A. Smedes

Constructor Summary
CollectionUtil()
           
 
Method Summary
static java.lang.String concat(java.util.Collection collection, char separatorChar)
          Given a collection of String objects (determines runtime ...), this method returns a String, separated by a separator character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionUtil

public CollectionUtil()
Method Detail

concat

public static java.lang.String concat(java.util.Collection collection,
                                      char separatorChar)
Given a collection of String objects (determines runtime ...), this method returns a String, separated by a separator character. After the last String in the collection, no separator char is placed.

Parameters:
collection -
Returns:


Copyright © 2002-2006 Toolforge. All Rights Reserved.