package net.pterodactylus.xdcc.data;
import java.util.Collection;
+import java.util.Iterator;
import java.util.Map;
import com.beust.jcommander.internal.Maps;
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
-public class Bot {
+public class Bot implements Iterable<Pack> {
/** The network this bot is on. */
private final Network network;
}
//
+ // ITERABLE METHODS
+ //
+
+ @Override
+ public Iterator<Pack> iterator() {
+ return packs.values().iterator();
+ }
+
+ //
// OBJECT METHODS
//