Ejemplo n.º 1
0
  public Map a(a a1) {
    c c1 = a1.f();
    if (c1 == c.i) {
      a1.j();
      return null;
    }
    Map map = (Map) d.a();
    if (c1 == c.a) {
      a1.a();
      for (; a1.e(); a1.b()) {
        a1.a();
        Object obj = b.b(a1);
        if (map.put(obj, c.b(a1)) != null) {
          throw new ab((new StringBuilder()).append("duplicate key: ").append(obj).toString());
        }
      }

      a1.b();
      return map;
    }
    a1.c();
    while (a1.e()) {
      u.a.a(a1);
      Object obj1 = b.b(a1);
      if (map.put(obj1, c.b(a1)) != null) {
        throw new ab((new StringBuilder()).append("duplicate key: ").append(obj1).toString());
      }
    }
    a1.d();
    return map;
  }
Ejemplo n.º 2
0
 public final Object a(a a1) {
   if (a1.f() == e.i) {
     a1.j();
     return null;
   }
   Collection collection = (Collection) c.a();
   a1.a();
   for (; a1.e(); collection.add(b.a(a1))) {}
   a1.b();
   return collection;
 }