Code example for Vector

Methods: addElement, copyInto, size

0
	 * Get all the platform providers supported by this API. 
	 * </p> 
	 * @return Array with platform providers. 
	 */ 
	public static PlatformProvider[] getAvailableProviders() { 
		Vector v = new Vector(2); 
		//#if PP_JAVA_ME == 1 || PP_ALL == 1 
		v.addElement(javameProvider); 
		//#endif 
		//#if PP_ANDROID == 1 || PP_ALL == 1 
		v.addElement(androidProvider); 
		//#endif 
		// 
		PlatformProvider[] plats = new PlatformProvider[v.size()]; 
		v.copyInto(plats); 
		// 
		return plats; 
	} 
 
	/** 
	 * <p>