VLab Common 1.2

pl.psnc.vlab.util.collection
Class CollectionHelper

java.lang.Object
  extended by pl.psnc.vlab.util.collection.CollectionHelper

public class CollectionHelper
extends java.lang.Object

CollectionHelper class - set of utility classes to work with collections and arrays.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Constructor Summary
CollectionHelper()
           
 
Method Summary
static java.lang.String[][] convert(java.util.Map<java.lang.String,java.util.List<java.lang.String>> data, int numberOfValues)
          Converts map with list of string as values to map with string as value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionHelper

public CollectionHelper()
Method Detail

convert

public static java.lang.String[][] convert(java.util.Map<java.lang.String,java.util.List<java.lang.String>> data,
                                           int numberOfValues)
Converts map with list of string as values to map with string as value.

Parameters:
data - collection data
numberOfValues - number of values
Returns:
converted map

VLab Common 1.2

Copyright 2004 by VLAB Dominik Stoklosa.