Code example for LinkedList

Methods: addremovesize

0
		updatePositions(); 
	} 
	 
	public void updatePositions() 
	{ 
		for(int i = 0; i < tiles.size(); i++)
			tiles.get(i).move(i*65+20, dragBorder.bottom - 75);
	} 
	 
	public void remove(DraggableBox d)
	{ 
		tiles.remove(d);
		DraggableBox tmp = new DraggableBox(context, 65*8+20, 60);
		tiles.add(tmp);
		ref.add(tmp);
		updatePositions(); 
	} 
	 
	public boolean contains(DraggableBox d)
	{ 
Stop searching for code, let great code find you!  Add Codota to your java IDE