Code example for List

Methods: addAll

0
	 * Add a list of ResourceKeys to this relay server 
	 * @param rks 
	 */ 
	public void addResourceKey(List<ResourceKey> rks)
	{ 
		_partitionInfo.addAll(rks);
	} 
	 
	/** 
	 * Utility function to add a single ResourceKey 
	 * @param rk 
	 */ 
	public void addResourceKey(ResourceKey rk)
	{	 
		List<ResourceKey> rks = new ArrayList<ResourceKey>();
		rks.add(rk);
		addResourceKey( rks );
	} 
	 
	/** 
	 * Obtain list of ResourceKeys for this relay server