📄 totorrentannounceurlgroupimpl.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: TOTorrentAnnounceURLGroupImpl.java
package org.gudy.azureus2.core3.torrent.impl;
import java.net.URL;
import org.gudy.azureus2.core3.torrent.TOTorrentAnnounceURLGroup;
import org.gudy.azureus2.core3.torrent.TOTorrentAnnounceURLSet;
// Referenced classes of package org.gudy.azureus2.core3.torrent.impl:
// TOTorrentAnnounceURLSetImpl, TOTorrentImpl
public class TOTorrentAnnounceURLGroupImpl
implements TOTorrentAnnounceURLGroup
{
private TOTorrentImpl torrent;
private TOTorrentAnnounceURLSet sets[];
protected TOTorrentAnnounceURLGroupImpl(TOTorrentImpl _torrent)
{
torrent = _torrent;
sets = new TOTorrentAnnounceURLSet[0];
}
protected void addSet(TOTorrentAnnounceURLSet set)
{
TOTorrentAnnounceURLSet new_sets[] = new TOTorrentAnnounceURLSet[sets.length + 1];
System.arraycopy(sets, 0, new_sets, 0, sets.length);
new_sets[new_sets.length - 1] = set;
sets = new_sets;
}
public TOTorrentAnnounceURLSet[] getAnnounceURLSets()
{
return sets;
}
public void setAnnounceURLSets(TOTorrentAnnounceURLSet _sets[])
{
sets = _sets;
}
public TOTorrentAnnounceURLSet createAnnounceURLSet(URL urls[])
{
return new TOTorrentAnnounceURLSetImpl(torrent, urls);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -