Code example for LinkedList

Methods: getLast

0
		return ffworld.getFirst(); 
 
	} 
 
	public ForceFieldBlock ffworld_getLast() { 
		return ffworld.getLast(); 
 
	} 
 
	public void ffworld_removefirst() { 
		ffworld.removeFirst(); 
	} 
 
	public void ffworld_remove(int Projektor_ID) { 
 
		for (int i = 0; i < ffworld.size(); i++) { 
			ForceFieldBlock ffb = ffworld.get(i); 
			if (ffb.getProjektor_ID() == Projektor_ID) { 
				ffworld.remove(i); 
			} 
Contextual code suggestions in your IDE  Get Codota for Java