import java.util.*;

public class Connector
{
    public static final int SEAT_JOLTAGE = 0;
    public static final int JOLTAGE_RANGE = 3;

    public Connector (boolean debug)
    {
        _debug = debug;
    }

    public Vector<JoltageAdapter> connect (Vector<JoltageAdapter> adapters)
    {
        Vector<JoltageAdapter> toReturn = new Vector<JoltageAdapter>();
        int joltage = 0;

        while (adapters.size() > 0)
        {
            boolean found = false;

            for (int i = 0; (i < adapters.size()) && !found; i++)
            {

            }

        }

        return null;
    }

    private boolean _debug;
}
@@ -467,16 +467,59 @@
 = false;
+%0A            JoltageAdapter adapter = null;
 %0A%0A      
@@ -592,16 +592,658 @@
       %7B%0A
+                int current = adapters.elementAt(i).outputJoltage();%0A%0A                if (current == joltage)%0A                %7B%0A                    adapter = adapters.elementAt(i);%0A                    found = true;%0A                %7D%0A%0A                if ((current %3E joltage) && (current %3C= joltage + JOLTAGE_RANGE))%0A                %7B%0A                    if (adapter == null)%0A                        adapter = adapters.elementAt(i);%0A                    else%0A                    %7B%0A                        if (current %3C= adapter.outputJoltage())%0A                            current = adapters.elementAt(i);%0A                    %7D%0A                %7D
 %0A       

Update Connector.java