📄 unresolvablehostmanager.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: UnresolvableHostManager.java
package org.gudy.azureus2.core3.util;
import java.util.HashMap;
import java.util.Map;
import org.gudy.azureus2.core3.logging.*;
public class UnresolvableHostManager
{
protected static int next_address = 0xf0000000 + (int)(16777215D * Math.random());
protected static Map host_map = new HashMap();
public UnresolvableHostManager()
{
}
public static int getPseudoAddress(String str)
{
Map map = host_map;
JVM INSTR monitorenter ;
Integer res;
res = (Integer)host_map.get(str);
if (res == null)
{
res = new Integer(next_address++);
if (Logger.isEnabled())
Logger.log(new LogEvent(LogIDs.NET, (new StringBuilder()).append("Allocated pseudo IP address '").append(Integer.toHexString(res.intValue())).append("' for host '").append(str).append("'").toString()));
host_map.put(str, res);
}
return res.intValue();
Exception exception;
exception;
throw exception;
}
public static boolean isPseudoAddress(String str)
{
Map map = host_map;
JVM INSTR monitorenter ;
return host_map.get(str) != null;
Exception exception;
exception;
throw exception;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -