52 lines
820 B
Java
52 lines
820 B
Java
package javax.baja.agent;
|
|
|
|
public interface AgentList {
|
|
void add(int i, String str);
|
|
|
|
void add(int i, AgentInfo agentInfo);
|
|
|
|
void add(String str);
|
|
|
|
void add(AgentInfo agentInfo);
|
|
|
|
Object clone();
|
|
|
|
AgentList filter(AgentFilter agentFilter);
|
|
|
|
AgentInfo get(int i);
|
|
|
|
AgentInfo get(String str);
|
|
|
|
AgentInfo getDefault();
|
|
|
|
int indexOf(String str);
|
|
|
|
int indexOf(AgentInfo agentInfo);
|
|
|
|
AgentInfo[] list();
|
|
|
|
void remove(int i);
|
|
|
|
void remove(String str);
|
|
|
|
void remove(AgentInfo agentInfo);
|
|
|
|
void remove(AgentList agentList);
|
|
|
|
int size();
|
|
|
|
void swap(int i, int i2);
|
|
|
|
void toBottom(int i);
|
|
|
|
void toBottom(String str);
|
|
|
|
void toBottom(AgentInfo agentInfo);
|
|
|
|
void toTop(int i);
|
|
|
|
void toTop(String str);
|
|
|
|
void toTop(AgentInfo agentInfo);
|
|
}
|