Code example for Vector

Methods: firstElement

	public BasicBlock getFirstBlock() 
			return basicBlocks.firstElement();
		}catch(RuntimeException ex)
			return null; 
	public void labelBlock(String label, BasicBlock block) { labels.put(label, block); }
	public void addBasicBlock(BasicBlock newBlock) { basicBlocks.add(newBlock); }
	public void addEdge(BasicBlock srcBlock,
			 BasicBlock dstBlock){ edges.addEdge(srcBlock, dstBlock); }
	public int getNumberOfBasicBlocks(){ return basicBlocks.size(); }
	public Collection<? extends BasicBlock> getJumpStatements() { return jumpStatements; }
Connect your IDE to all the code out there  Get Codota for Java