com.funambol.syncclient.common
Class VectorTools

java.lang.Object
  extended by com.funambol.syncclient.common.VectorTools

public class VectorTools
extends java.lang.Object


Constructor Summary
VectorTools()
           
 
Method Summary
static void add(java.util.Vector v, java.lang.Object[] a)
          Adds all elements of the object array to the first vector
static void add(java.util.Vector v1, java.util.Vector v2)
          Adds all elements of the second vector to the first vector
static java.lang.String[] toStringArray(java.util.Vector v)
          Returns the content of the given vector as an array of String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorTools

public VectorTools()
Method Detail

add

public static void add(java.util.Vector v1,
                       java.util.Vector v2)
Adds all elements of the second vector to the first vector

Parameters:
v1 -
v2 -

add

public static void add(java.util.Vector v,
                       java.lang.Object[] a)
Adds all elements of the object array to the first vector

Parameters:
v -
a -

toStringArray

public static java.lang.String[] toStringArray(java.util.Vector v)
Returns the content of the given vector as an array of String

Parameters:
v - the vector to convert - NULL = empty vector
Returns:
a String[] with the content of the vector


Copyright © 2010 Funambol. All Rights Reserved.