Code example for Collection

Methods: add, iterator

0
	} 
 
	public void staticLinkedList() { 
		bar(TelephonyManager.getDeviceId());
		ConnectionManager cm = new ConnectionManager();
		cm.publish((String) COLLECTION1.iterator().next());
	} 
 
	static final Collection COLLECTION1 = new LinkedList();
 
	private void bar(Object s) {
		COLLECTION1.add(s);
	} 
}