/* Class420 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
import java.util.concurrent.Callable;

public class Class420 implements Callable
{
    URL anURL4683;
    Class487_Sub35_Sub10_Sub3 aClass487_Sub35_Sub10_Sub3_4684;
    Class442 this$0;
    
    Class420(Class442 class442, URL url,
	     Class487_Sub35_Sub10_Sub3 class487_sub35_sub10_sub3) {
	((Class420) this).this$0 = class442;
	((Class420) this).anURL4683 = url;
	((Class420) this).aClass487_Sub35_Sub10_Sub3_4684
	    = class487_sub35_sub10_sub3;
    }
    
    public Object call() throws Exception {
	URLConnection urlconnection
	    = ((Class420) this).anURL4683.openConnection();
	urlconnection.setConnectTimeout(10000);
	urlconnection.setReadTimeout(60000);
	boolean bool = true;
	try {
	    urlconnection.connect();
	} catch (IOException ioexception) {
	    ((Class442) ((Class420) this).this$0).aLong5067
		= Class222.method3225(2007095184) * 2682672062779341257L;
	    bool = false;
	}
	return new Class392(((Class420) this).this$0,
			    bool ? urlconnection.getInputStream() : null,
			    ((Class420) this).aClass487_Sub35_Sub10_Sub3_4684,
			    ((Class420) this).anURL4683);
    }
    
    public Object method5135() throws Exception {
	URLConnection urlconnection
	    = ((Class420) this).anURL4683.openConnection();
	urlconnection.setConnectTimeout(10000);
	urlconnection.setReadTimeout(60000);
	boolean bool = true;
	try {
	    urlconnection.connect();
	} catch (IOException ioexception) {
	    ((Class442) ((Class420) this).this$0).aLong5067
		= Class222.method3225(1758329796) * 2682672062779341257L;
	    bool = false;
	}
	return new Class392(((Class420) this).this$0,
			    bool ? urlconnection.getInputStream() : null,
			    ((Class420) this).aClass487_Sub35_Sub10_Sub3_4684,
			    ((Class420) this).anURL4683);
    }
    
    public static int method5136(Class414 class414, int i) {
	Class396 class396 = Class396.method4730(0.0F, 0.0F, 1.0F);
	class396.method4753(class414);
	double d
	    = 1.5707963267948966 - Math.acos((double) class396.aFloat4542);
	class396.method4785();
	if (d < 0.0)
	    d = d + 3.141592653589793 + 3.141592653589793;
	return (int) (d / 6.283185307179586 * 16384.0) & 0x3fff;
    }
    
    static boolean method5137(int i) {
	return Class142.method1938(Class343.aClass569_3658.aClass552_7645,
				   (byte) 0);
    }
}
