Code example for Vector

Methods: firstElement

0
	 * @see gsn.utils.protocols.AbstractHCIQuery#buildRawQuery(java.util.Vector) 
	 */ 
	@Override 
	public byte[] buildRawQuery(Vector<Object> params) {
		byte[] rawQuery = null;
		if(params != null && params.firstElement() != null) {
			rawQuery = params.firstElement().toString().getBytes();
		}  
		return rawQuery; 
	} 
 
}