package commons.application;
import commons.application.ctx.Context;
import basics.application.Args;
import basics.utl.SysUtl;
public class MockApp
{

public void start (Args prgArgs, Context context)
{
   SysUtl.println(this.getClass().getName()
      + " was started. Use \"-startable <classname>\" or set cmd.property \"startable=<classname>\" to start another program.");
   Application.createNewContext();
   Context ctx = Application.ctx();
   // PairSet<String> ps = new PairSet<String>();
   // OsUtl.trace("ab:"+ps.isNew("a", "b"));
   // OsUtl.trace("ab:"+ps.isNew("a", "b"));
   // OsUtl.trace("ba:"+ps.isNew("b", "a"));
   // OsUtl.trace("bb:"+ps.isNew("b", "b"));
   // LinkedHashListOfPairs l = new LinkedHashListOfPairs();
   // l.add("a", "A");
   // l.add("A", "a");
   // l.add("a", "A");
   // l.add("a", "B");
   // l.add("a", "C");
   // l.add("b", "A");
   // l.add("b", "B");
   // l.add("b", "C");
   // l.add("b", "C", 1.5);
   // Iterator<String> outer = l.getOuterMapIterator();
   // while (outer.hasNext()) {
   // String o = outer.next();
   // Iterator<String> inner = l.getInnerMapIterator(o);
   // while (inner.hasNext()) {
   // String i = inner.next();
   // OsUtl.trace("v " + o + ":" + i + " = " + l.getValue(o, i, -1));
   // OsUtl.trace("p " + o + ":" + i + " = " + l.getPair(o, i));
   // if (l.contains(i, o)) OsUtl.trace("REVERS " + l.getPair(i, o));
   // }
   // }
   // for (Iterator<Pair> iter = l.getListIterator(); iter.hasNext(); )
   // {
   // Pair p = iter.next();
   // String o = p.getTerm1();
   // String i = p.getTerm2();
   // double v = p.getValue();
   // OsUtl.trace("* " + p.toString(2));
   // OsUtl.trace("p " + o + ":" + i + " = " + l.getValue(o, i, -1));
   // if (l.contains(i, o)) OsUtl.trace("REVERS " + l.getPair(i, o));
   //			
   // }
}
}
