Code example for LinkedList

Methods: offer

0
			e.url = url;
			e.dest = dest;
			e.listener = listener;
			e.finished = false;
			 
			queue.offer(e);
			sema.release(); // ijinkan jalan
			 
			return e;
		} 
	} 
	 
	public static boolean mkYesDir() { 
		File dir = new File(getYesPath());
		if (!dir.exists()) {
			return new File(getYesPath()).mkdirs();
		} else { 
			return true; 
		} 
	}