📄 localeutildecodercandidate.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: LocaleUtilDecoderCandidate.java
package org.gudy.azureus2.core3.internat;
// Referenced classes of package org.gudy.azureus2.core3.internat:
// LocaleUtilDecoder
public class LocaleUtilDecoderCandidate
implements Comparable
{
private int index;
private String value;
private LocaleUtilDecoder decoder;
protected LocaleUtilDecoderCandidate(int _index)
{
index = _index;
}
public String getValue()
{
return value;
}
public LocaleUtilDecoder getDecoder()
{
return decoder;
}
public void setDetails(LocaleUtilDecoder _decoder, String _value)
{
decoder = _decoder;
value = _value;
}
public int compareTo(Object o)
{
LocaleUtilDecoderCandidate candidate = (LocaleUtilDecoderCandidate)o;
int res;
if (value == null && candidate.value == null)
res = 0;
else
if (value == null)
res = 1;
else
if (candidate.value == null)
{
res = -1;
} else
{
res = value.length() - candidate.value.length();
if (res == 0)
res = index - candidate.index;
}
if (decoder != null)
if (candidate.getDecoder() == null);
return res;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -