Code example for Vector

Methods: lastElement

0
	} 
	 
	public BasicBlock getLastBlock() 
	{ 
		try{ 
			return basicBlocks.lastElement();
		}catch(RuntimeException ex)
		{ 
			return null; 
		} 
	} 
	 
	public BasicBlock getFirstBlock() 
	{	 
		try{ 
			return basicBlocks.firstElement();
		}catch(RuntimeException ex)
		{ 
			return null; 
		} 
	}